Skip to content

Commit

Permalink
tcg-ppc64: Don't load the static chain from TCG
Browse files Browse the repository at this point in the history
There are no helpers that require the static chain.

Signed-off-by: Richard Henderson <rth@twiddle.net>
  • Loading branch information
rth7680 committed Sep 25, 2013
1 parent f8b8412 commit ad94e1a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tcg/ppc64/tcg-target.c
Expand Up @@ -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
Expand Down

0 comments on commit ad94e1a

Please sign in to comment.