tcg/ppc64: Only one call output register needed for 64 bit hosts
authorStefan Weil <weil@mail.berlios.de>
Mon, 5 Sep 2011 09:07:02 +0000 (11:07 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 17 Sep 2011 17:56:30 +0000 (17:56 +0000)
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>
tcg/ppc64/tcg-target.c

index e3c63adc3e8ea059361468db209df47809b5e8ea..3d24cd4da4dd774240d137aaf2369e1fe32794f7 100644 (file)
@@ -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
 };