Commit 8f811b9a authored by Richard Henderson's avatar Richard Henderson

target-alpha: Use non-local temps for zero/sink

These values are no longer live across branches.
Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
parent a9e05a1c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment