diff options
author | Blue Swirl | 2012-09-08 14:40:00 +0200 |
---|---|---|
committer | Blue Swirl | 2012-11-10 14:49:20 +0100 |
commit | f4359b9ffe895fda6d1ec3dd441cb8a208fb4dce (patch) | |
tree | 4a7079ca55c6beb87f25b7bc449a9e1a67c68e51 /target-s390x | |
parent | slirp: remove unused function u_sleep (diff) | |
download | qemu-f4359b9ffe895fda6d1ec3dd441cb8a208fb4dce.tar.gz qemu-f4359b9ffe895fda6d1ec3dd441cb8a208fb4dce.tar.xz qemu-f4359b9ffe895fda6d1ec3dd441cb8a208fb4dce.zip |
disas: avoid using cpu_single_env
Pass around CPUArchState instead of using global cpu_single_env.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Acked-by: Richard Henderson <rth@twiddle.net>
Acked-by: Aurelien Jarno <aurelien@aurel32.net>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Diffstat (limited to 'target-s390x')
-rw-r--r-- | target-s390x/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/translate.c b/target-s390x/translate.c index db464cc073..c6267a8769 100644 --- a/target-s390x/translate.c +++ b/target-s390x/translate.c @@ -5220,7 +5220,7 @@ static inline void gen_intermediate_code_internal(CPUS390XState *env, #if defined(S390X_DEBUG_DISAS) if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM)) { qemu_log("IN: %s\n", lookup_symbol(pc_start)); - log_target_disas(pc_start, dc.pc - pc_start, 1); + log_target_disas(env, pc_start, dc.pc - pc_start, 1); qemu_log("\n"); } #endif |