comparison m68k_core_x86.c @ 654:98927f1b005b

Fix some issues with 68K instruction retranslation
author Michael Pavone <pavone@retrodev.com>
date Thu, 01 Jan 2015 17:31:59 -0800
parents a18e3923481e
children 24ccfd70133a
comparison
equal deleted inserted replaced
653:a18e3923481e 654:98927f1b005b
2183 native.last = native.cur + 128; 2183 native.last = native.cur + 128;
2184 code_ptr start_native = native.cur; 2184 code_ptr start_native = native.cur;
2185 mov_ir(&native, address, opts->gen.scratch1, SZ_D); 2185 mov_ir(&native, address, opts->gen.scratch1, SZ_D);
2186 if (!bp_stub) { 2186 if (!bp_stub) {
2187 code_info *code = &opts->gen.code; 2187 code_info *code = &opts->gen.code;
2188 check_alloc_code(code, 5); 2188 check_code_prologue(code);
2189 bp_stub = code->cur; 2189 bp_stub = code->cur;
2190 call(&native, bp_stub); 2190 call(&native, bp_stub);
2191 2191
2192 //Calculate length of prologue 2192 //Calculate length of prologue
2193 check_cycles_int(&opts->gen, address); 2193 check_cycles_int(&opts->gen, address);