summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Weil2011-09-05 11:07:02 +0200
committerBlue Swirl2011-09-17 19:56:30 +0200
commitbe9c4183c44fcde64730446eb76bd68083dfa0db (patch)
tree82f375eb0b0427d11a681a8eb267a2b649abb734
parenttcg/sparc: Only one call output register needed for 64 bit hosts (diff)
downloadqemu-be9c4183c44fcde64730446eb76bd68083dfa0db.tar.gz
qemu-be9c4183c44fcde64730446eb76bd68083dfa0db.tar.xz
qemu-be9c4183c44fcde64730446eb76bd68083dfa0db.zip
tcg/ppc64: Only one call output register needed for 64 bit hosts
The second register is only needed for 32 bit hosts. Cc: Vassili Karpov <av1474@comtv.ru> Fine-with-me'd-by: Vassili Karpov <av1474@comtv.ru> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--tcg/ppc64/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index e3c63adc3e..3d24cd4da4 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -130,7 +130,7 @@ static const int tcg_target_call_iarg_regs[] = {
TCG_REG_R10
};
-static const int tcg_target_call_oarg_regs[2] = {
+static const int tcg_target_call_oarg_regs[] = {
TCG_REG_R3
};