Changeset 13708 in vbox
- Timestamp:
- Oct 31, 2008 10:26:14 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38675
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r13565 r13708 730 730 REMR3DECL(int) REMR3EmulateInstruction(PVM pVM) 731 731 { 732 bool fFlushTBs; 733 732 734 Log2(("REMR3EmulateInstruction: (cs:eip=%04x:%08x)\n", CPUMGetGuestCS(pVM), CPUMGetGuestEIP(pVM))); 733 735 … … 738 740 pVM->rem.s.Env.state |= CPU_RAW_HWACC; 739 741 742 /* Skip the TB flush as that's rather expensive and not necessary for single instruction emulation. */ 743 fFlushTBs = pVM->rem.s.fFlushTBs; 744 pVM->rem.s.fFlushTBs = false; 745 740 746 /* 741 747 * Sync the state and enable single instruction / single stepping. 742 748 */ 743 749 int rc = REMR3State(pVM); 750 pVM->rem.s.fFlushTBs = fFlushTBs; 744 751 if (VBOX_SUCCESS(rc)) 745 752 { -
trunk/src/recompiler_new/VBoxRecompiler.c
r13652 r13708 731 731 pVM->rem.s.Env.state |= CPU_RAW_HWACC; 732 732 733 /* Skip the TB flush as that's rather expensive and not necessary for single instruction emulation. */ 734 fFlushTBs = pVM->rem.s.fFlushTBs; 735 pVM->rem.s.fFlushTBs = false; 736 733 737 /* 734 738 * Sync the state and enable single instruction / single stepping. 735 739 */ 736 740 rc = REMR3State(pVM); 741 pVM->rem.s.fFlushTBs = fFlushTBs; 737 742 if (VBOX_SUCCESS(rc)) 738 743 {
Note:
See TracChangeset
for help on using the changeset viewer.