diff options
Diffstat (limited to 'translate.c')
-rw-r--r-- | translate.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/translate.c b/translate.c index e9055c0dd1..c9bca64db3 100644 --- a/translate.c +++ b/translate.c @@ -120,6 +120,11 @@ int cpu_gen_code(CPUState *env, TranslationBlock *tb, tb->tb_next_offset[0] = 0xffff; tb->tb_next_offset[1] = 0xffff; gen_code_buf = tb->tc_ptr; +#ifdef USE_DIRECT_JUMP + /* the following two entries are optional (only used for string ops) */ + tb->tb_jmp_offset[2] = 0xffff; + tb->tb_jmp_offset[3] = 0xffff; +#endif gen_code_size = dyngen_code(gen_code_buf, tb->tb_next_offset, #ifdef USE_DIRECT_JUMP tb->tb_jmp_offset, |