Skip to content

Commit

Permalink
target-alpha: Use non-local temps for zero/sink
Browse files Browse the repository at this point in the history
These values are no longer live across branches.

Signed-off-by: Richard Henderson <rth@twiddle.net>
  • Loading branch information
rth7680 committed Apr 17, 2014
1 parent a9e05a1 commit 8f811b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions target-alpha/translate.c
Expand Up @@ -153,15 +153,15 @@ 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;
}

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;
}
Expand Down

0 comments on commit 8f811b9

Please sign in to comment.