VirtualBox

Changeset 100746 in vbox


Ignore:
Timestamp:
Jul 31, 2023 9:46:20 AM (16 months ago)
Author:
vboxsync
Message:

VMM/IEM: Reworking the recompiler call emitting in the python script - more stuff. bugref:10369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllThrdPython.py

    r100745 r100746  
    10401040            def toCode(self):
    10411041                aoStmts = [ iai.McCppGeneric('case %s:' % (self.sCond), cchIndent = 4), ];
    1042                 aoStmts.extend(self.aoBody);
    1043                 aoStmts.append(iai.McCppGeneric('break;', cchIndent = 8));
     1042                if self.aoBody:
     1043                    aoStmts.extend(self.aoBody);
     1044                    aoStmts.append(iai.McCppGeneric('break;', cchIndent = 8));
    10441045                return aoStmts;
    10451046
     
    10781079                Case('IEMMODE_32BIT',
    10791080                     dByVari[ThrdFnVar.ksVariation_32].emitThreadedCallStmts(8)),
    1080                 Case('IEMMODE_32BIT | IEM_F_MODE_X86_FLAT_OR_PRE_386_MASK | 8',
    1081                      dByVari[ThrdFnVar.ksVariation_32_Addr16].emitThreadedCallStmts(8)),
     1081                Case('IEMMODE_32BIT | IEM_F_MODE_X86_FLAT_OR_PRE_386_MASK | 8'), # fall thru
    10821082                Case('IEMMODE_32BIT | 8',
    10831083                     dByVari[ThrdFnVar.ksVariation_32_Addr16].emitThreadedCallStmts(8)),
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