diff options
author | Lars Munch <lars@segv.dk> | 2010-03-15 18:22:04 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-08 11:11:21 +0200 |
commit | 02493af83adbbc79e341c87e79054458230e3c73 (patch) | |
tree | effbf1a3af50525f617681f02b4c418c601c5b0f /target-arm | |
parent | 3e5f80e4091be636a0eb83a5758d5ef51d7c2ab5 (diff) | |
download | qemu-02493af83adbbc79e341c87e79054458230e3c73.tar.gz qemu-02493af83adbbc79e341c87e79054458230e3c73.tar.bz2 qemu-02493af83adbbc79e341c87e79054458230e3c73.zip |
target-arm: resource leak fixes for iwmmxt disassemble
This patch fixes few resource leaks in the iwmmxt disassemble.
Signed-off-by: Lars Munch <lars@segv.dk>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/translate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c index 3b84c1dabd..bc03368313 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -1131,6 +1131,7 @@ static inline TCGv iwmmxt_load_creg(int reg) static inline void iwmmxt_store_creg(int reg, TCGv var) { tcg_gen_st_i32(var, cpu_env, offsetof(CPUState, iwmmxt.cregs[reg])); + dead_tmp(var); } static inline void gen_op_iwmmxt_movq_wRn_M0(int rn) @@ -1415,6 +1416,7 @@ static int disas_iwmmxt_insn(CPUState *env, DisasContext *s, uint32_t insn) } } } + dead_tmp(addr); return 0; } |