Patchwork [PULL,13/21] tcg-ppc64: Don't load the static chain from TCG

login
register
mail settings
Submitter Richard Henderson
Date Sept. 25, 2013, 4:27 p.m.
Message ID <1380126458-3247-14-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/277941/
State New
Headers show

Comments

Richard Henderson - Sept. 25, 2013, 4:27 p.m.
There are no helpers that require the static chain.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 tcg/ppc64/tcg-target.c | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index 357f8c1..5ac62bf 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -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