mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 21:08:51 +00:00
.
This commit is contained in:
parent
fc902e5a68
commit
2ce5c4cb1f
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ namespace Cosmos.IL2CPU.X86.IL
|
|||
string xTypeID = GetTypeIDLabel(xType.Value);
|
||||
string mReturnNullLabel = GetLabel( aMethod, aOpCode ) + "_ReturnNull";
|
||||
|
||||
new CPUx86.Mov { DestinationReg = CPUx86.RegistersEnum.EAX, SourceReg = CPUx86.RegistersEnum.ESP, SourceIsIndirect = true };
|
||||
XS.Set(XSRegisters.EAX, XSRegisters.ESP, sourceIsIndirect: true);
|
||||
|
||||
XS.Compare(XSRegisters.OldToNewRegister(CPUx86.RegistersEnum.EAX), 0);
|
||||
new CPUx86.ConditionalJump { Condition = CPUx86.ConditionalTestEnum.Zero, DestinationLabel = mReturnNullLabel };
|
||||
|
|
|
|||
Loading…
Reference in a new issue