diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-07-07 18:46:32 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-07-13 08:13:19 -0700 |
commit | 3e646c3a3cfb1ce9522c230c2cbbafaf42f0a9c5 (patch) | |
tree | 674ab1d22c4d54b34de1e3beed1666f87d0fa52d /target | |
parent | 492f85b92adf4e6fbe15b9cd4a36d5e0c3f2c44a (diff) | |
download | qemu-3e646c3a3cfb1ce9522c230c2cbbafaf42f0a9c5.zip qemu-3e646c3a3cfb1ce9522c230c2cbbafaf42f0a9c5.tar.gz qemu-3e646c3a3cfb1ce9522c230c2cbbafaf42f0a9c5.tar.bz2 |
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>
Diffstat (limited to 'target')
-rw-r--r-- | target/alpha/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/alpha/translate.c b/target/alpha/translate.c index b439b57..64c4865 100644 --- a/target/alpha/translate.c +++ b/target/alpha/translate.c @@ -2717,7 +2717,7 @@ static DisasJumpType translate_one(DisasContext *ctx, uint32_t insn) /* Pre-EV6 CPUs interpreted this as HW_REI, loading the return address from EXC_ADDR. This turns out to be useful for our 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)); } else { vb = load_gpr(ctx, rb); |