aboutsummaryrefslogtreecommitdiff
path: root/tcg/ppc64
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-07-30 23:14:19 -0700
committerRichard Henderson <rth@twiddle.net>2013-09-25 07:46:32 -0700
commitad94e1a9db52de4ddfd9940324249518e0265902 (patch)
treeefbef3eb5946caebca3707ad20c1cee5cae948ba /tcg/ppc64
parentf8b84129073d600cef20d526814b9bdd15c2e1ba (diff)
tcg-ppc64: Don't load the static chain from TCG
There are no helpers that require the static chain. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/ppc64')
-rw-r--r--tcg/ppc64/tcg-target.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index 357f8c11de..5ac62bf40d 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