VirtualBox

Ignore:
Timestamp:
Nov 27, 2023 3:47:51 PM (14 months ago)
Author:
vboxsync
Message:

VMM/IEM: Fix label creation in release builds. bugref:10371

File:
1 edited

Legend:

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

    r102313 r102330  
    18481848    if (   pReNative->bmLabelTypes & RT_BIT_64(enmType)
    18491849#ifndef VBOX_STRICT
    1850         && enmType  >= kIemNativeLabelType_FirstWithMultipleInstances
     1850        && enmType  < kIemNativeLabelType_FirstWithMultipleInstances
    18511851        && offWhere == UINT32_MAX
    18521852        && uData    == 0
     
    85518551        Assert(paFixups[i].off < off);
    85528552        Assert(paFixups[i].idxLabel < cLabels);
     8553        AssertMsg(paLabels[paFixups[i].idxLabel].off < off,
     8554                  ("idxLabel=%d enmType=%d off=%#x (max %#x)\n", paFixups[i].idxLabel,
     8555                   paLabels[paFixups[i].idxLabel].enmType, paLabels[paFixups[i].idxLabel].off, off));
    85538556        RTPTRUNION const Ptr = { &paFinalInstrBuf[paFixups[i].off] };
    85548557        switch (paFixups[i].enmType)
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