diff options
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index ef33aaa3e0..908f161840 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -280,7 +280,7 @@ int cpu_exec(CPUState *env1) tb->tc_ptr = tc_ptr; tb->cs_base = (unsigned long)cs_base; tb->flags = flags; - ret = cpu_gen_code(tb, CODE_GEN_MAX_SIZE, &code_gen_size); + ret = cpu_gen_code(env, tb, CODE_GEN_MAX_SIZE, &code_gen_size); #if defined(TARGET_I386) /* XXX: suppress that, this is incorrect */ /* if invalid instruction, signal it */ |