aboutsummaryrefslogtreecommitdiff
path: root/target-arm/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-arm/translate.c')
-rw-r--r--target-arm/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c
index be5b99b079..91328c8133 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -2565,6 +2565,7 @@ static int disas_cp_insn(CPUState *env, DisasContext *s, uint32_t insn)
gen_set_pc_im(s->pc);
tmp = load_reg(s, rd);
gen_helper_set_cp(cpu_env, tcg_const_i32(insn), tmp);
+ dead_tmp(tmp);
}
return 0;
}