]> git.proxmox.com Git - qemu.git/commitdiff
tcg-ppc64: Don't load the static chain from TCG
authorRichard Henderson <rth@twiddle.net>
Wed, 31 Jul 2013 06:14:19 +0000 (23:14 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 25 Sep 2013 14:46:32 +0000 (07:46 -0700)
There are no helpers that require the static chain.

Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/ppc64/tcg-target.c

index 357f8c11de890da034f182c7c0a51624af3c58d2..5ac62bf40d88df8fb893131dacd12414655db158 100644 (file)
@@ -722,7 +722,6 @@ static void tcg_out_call(TCGContext *s, tcg_target_long arg, int const_arg)
 
     tcg_out32(s, LD | TAI(TCG_REG_R0, reg, 0));
     tcg_out32(s, MTSPR | RA(TCG_REG_R0) | CTR);
-    tcg_out32(s, LD | TAI(TCG_REG_R11, reg, 16));
     tcg_out32(s, LD | TAI(TCG_REG_R2, reg, 8));
     tcg_out32(s, BCCTR | BO_ALWAYS | LK);
 #endif