Changeset 42601 in vbox for trunk/src/recompiler/target-i386
- Timestamp:
- Aug 5, 2012 4:26:25 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79786
- Location:
- trunk/src/recompiler/target-i386
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/target-i386/op_helper.c
r42488 r42601 5643 5643 TranslationBlock *tb; 5644 5644 int ret; 5645 u nsigned longpc;5645 uintptr_t pc; 5646 5646 CPUX86State *saved_env; 5647 5647 … … 5655 5655 if (retaddr) { 5656 5656 /* now we have a real cpu fault */ 5657 pc = (u nsigned long)retaddr;5657 pc = (uintptr_t)retaddr; 5658 5658 tb = tb_find_pc(pc); 5659 5659 if (tb) { … … 5845 5845 DECLINLINE(void) tb_reset_jump(TranslationBlock *tb, int n) 5846 5846 { 5847 tb_set_jmp_target(tb, n, (u nsigned long)(tb->tc_ptr + tb->tb_next_offset[n]));5847 tb_set_jmp_target(tb, n, (uintptr_t)(tb->tc_ptr + tb->tb_next_offset[n])); 5848 5848 } 5849 5849 -
trunk/src/recompiler/target-i386/translate.c
r40360 r42601 2480 2480 tcg_gen_goto_tb(tb_num); 2481 2481 gen_jmp_im(eip); 2482 tcg_gen_exit_tb(( long)tb + tb_num);2482 tcg_gen_exit_tb((intptr_t)tb + tb_num); 2483 2483 } else { 2484 2484 /* jump to another page: currently not optimized */ … … 8364 8364 8365 8365 void gen_pc_load(CPUState *env, TranslationBlock *tb, 8366 unsigned longsearched_pc, int pc_pos, void *puc)8366 uintptr_t searched_pc, int pc_pos, void *puc) 8367 8367 { 8368 8368 int cc_op;
Note:
See TracChangeset
for help on using the changeset viewer.