diff options
author | Richard Henderson <rth@twiddle.net> | 2014-03-21 12:46:00 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-04-17 11:47:42 -0700 |
commit | 8f811b9a4a13dc1425a80f4df4540aee76183f2a (patch) | |
tree | ef9a9687ef4285b801eb3c1992ff192aa6ce1e07 /target-alpha | |
parent | a9e05a1cebe78a13595bbb0989e7440af8291ee1 (diff) |
target-alpha: Use non-local temps for zero/sink
These values are no longer live across branches.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha')
-rw-r--r-- | target-alpha/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 2c771367ad..c5f2a8dd21 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -153,7 +153,7 @@ void alpha_translate_init(void) static TCGv load_zero(DisasContext *ctx) { if (TCGV_IS_UNUSED_I64(ctx->zero)) { - ctx->zero = tcg_const_local_i64(0); + ctx->zero = tcg_const_i64(0); } return ctx->zero; } @@ -161,7 +161,7 @@ static TCGv load_zero(DisasContext *ctx) static TCGv dest_sink(DisasContext *ctx) { if (TCGV_IS_UNUSED_I64(ctx->sink)) { - ctx->sink = tcg_temp_local_new(); + ctx->sink = tcg_temp_new(); } return ctx->sink; } |