VirtualBox

Changeset 103612 in vbox


Ignore:
Timestamp:
Feb 29, 2024 12:59:25 PM (9 months ago)
Author:
vboxsync
Message:

VMM/IEM: Refinement of r161881 (pbInstrBuf == NULL situation). bugref:10370

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllThrdRecompiler.cpp

    r103554 r103612  
    28262826            {
    28272827                /* Translate PC to physical address, we'll need this for both lookup and compilation. */
    2828                 RTGCPHYS const GCPhysPc    = iemGetPcWithPhysAndCode(pVCpu);
    2829                 uint32_t const fExtraFlags = iemGetTbFlagsForCurrentPc(pVCpu);
    2830 
    2831                 pTb = iemTbCacheLookup(pVCpu, pTbCache, GCPhysPc, fExtraFlags);
     2828                RTGCPHYS const GCPhysPc = iemGetPcWithPhysAndCode(pVCpu);
    28322829                if (RT_LIKELY(pVCpu->iem.s.pbInstrBuf != NULL))
    28332830                {
     2831                    uint32_t const fExtraFlags = iemGetTbFlagsForCurrentPc(pVCpu);
     2832                    pTb = iemTbCacheLookup(pVCpu, pTbCache, GCPhysPc, fExtraFlags);
    28342833                    if (pTb)
    28352834                        rcStrict = iemTbExec(pVCpu, pTb);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette