diff options
author | Andreas Färber <afaerber@suse.de> | 2013-09-01 17:43:17 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-13 19:20:48 +0100 |
commit | 648f034c6cd81c64d93a1cfd7bb262006f560649 (patch) | |
tree | 94d0d35935e07676b613e279303884134647417c /cpu-exec.c | |
parent | 90b40a696a6bcfac88529930d4d1e1599878dae3 (diff) | |
download | qemu-648f034c6cd81c64d93a1cfd7bb262006f560649.tar.gz qemu-648f034c6cd81c64d93a1cfd7bb262006f560649.tar.bz2 qemu-648f034c6cd81c64d93a1cfd7bb262006f560649.zip |
translate-all: Change tb_gen_code() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index 192620f37b..c689ef9882 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -103,7 +103,7 @@ static void cpu_exec_nocache(CPUArchState *env, int max_cycles, if (max_cycles > CF_COUNT_MASK) max_cycles = CF_COUNT_MASK; - tb = tb_gen_code(env, orig_tb->pc, orig_tb->cs_base, orig_tb->flags, + tb = tb_gen_code(cpu, orig_tb->pc, orig_tb->cs_base, orig_tb->flags, max_cycles); cpu->current_tb = tb; /* execute the generated code */ @@ -156,7 +156,7 @@ static TranslationBlock *tb_find_slow(CPUArchState *env, } not_found: /* if no translated code available, then translate it now */ - tb = tb_gen_code(env, pc, cs_base, flags, 0); + tb = tb_gen_code(cpu, pc, cs_base, flags, 0); found: /* Move the last found TB to the head of the list */ |