target/alpha: Use dest_sink for HW_RET temporary
This temp is automatically freed, just like ctx->lit. But we're about to remove ctx->lit, so use sink instead. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
492f85b92a
commit
3e646c3a3c
@ -2717,7 +2717,7 @@ static DisasJumpType translate_one(DisasContext *ctx, uint32_t insn)
|
|||||||
/* Pre-EV6 CPUs interpreted this as HW_REI, loading the return
|
/* Pre-EV6 CPUs interpreted this as HW_REI, loading the return
|
||||||
address from EXC_ADDR. This turns out to be useful for our
|
address from EXC_ADDR. This turns out to be useful for our
|
||||||
emulation PALcode, so continue to accept it. */
|
emulation PALcode, so continue to accept it. */
|
||||||
ctx->lit = vb = tcg_temp_new();
|
vb = dest_sink(ctx);
|
||||||
tcg_gen_ld_i64(vb, cpu_env, offsetof(CPUAlphaState, exc_addr));
|
tcg_gen_ld_i64(vb, cpu_env, offsetof(CPUAlphaState, exc_addr));
|
||||||
} else {
|
} else {
|
||||||
vb = load_gpr(ctx, rb);
|
vb = load_gpr(ctx, rb);
|
||||||
|
Loading…
Reference in New Issue
Block a user