Mark a dead_tmp as such in ARM msr.
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 2 Jun 2008 02:29:26 +0000 (02:29 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 2 Jun 2008 02:29:26 +0000 (02:29 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4648 c046a42c-6fe2-441c-8c8c-71466251a162

target-arm/translate.c

index be5b99b0798e5d5739331cfa0626f5128d487447..91328c81335c85cfb17d213356f0889c93ab81f7 100644 (file)
@@ -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;
 }