aboutsummaryrefslogtreecommitdiff
path: root/op-i386.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-03-05 23:26:16 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-03-05 23:26:16 +0000
commit1017ebe9cb38ae034b0e7c6c449abe2c9b5284fb (patch)
treead8273a15fa7dc53c10d90cfa080c3db0d4fdc56 /op-i386.c
parent77f8dd5add8f02253dcea1454c9d2c76d7c788a7 (diff)
convert several x86 instructions at the same time
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@24 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'op-i386.c')
-rw-r--r--op-i386.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/op-i386.c b/op-i386.c
index 88bdb0a41f..2cca6a6722 100644
--- a/op-i386.c
+++ b/op-i386.c
@@ -1959,7 +1959,8 @@ int cpu_x86_exec(CPUX86State *env1)
#endif
}
#endif
- cpu_x86_gen_code(code_gen_buffer, &code_gen_size, (uint8_t *)env->pc);
+ cpu_x86_gen_code(code_gen_buffer, sizeof(code_gen_buffer),
+ &code_gen_size, (uint8_t *)env->pc);
/* execute the generated code */
gen_func = (void *)code_gen_buffer;
gen_func();