tcg/i386: Only one call output register needed for 64 bit hosts

The second register is only needed for 32 bit hosts.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Stefan Weil 2011-09-05 11:06:58 +02:00 committed by Blue Swirl
parent 5c6562c204
commit 68af23af69
1 changed files with 3 additions and 1 deletions

View File

@ -76,9 +76,11 @@ static const int tcg_target_call_iarg_regs[] = {
#endif
};
static const int tcg_target_call_oarg_regs[2] = {
static const int tcg_target_call_oarg_regs[] = {
TCG_REG_EAX,
#if TCG_TARGET_REG_BITS == 32
TCG_REG_EDX
#endif
};
static uint8_t *tb_ret_addr;