mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-11 10:41:33 +00:00
This commit is contained in:
parent
bb5b079685
commit
e42a484c97
1 changed files with 2 additions and 1 deletions
|
|
@ -40,6 +40,7 @@ namespace Indy.IL2CPU.IL.X86 {
|
|||
new CPUx86.Pushd(CPUx86.Registers.EAX);
|
||||
new CPUx86.Pushd(CPUx86.Registers.EAX);
|
||||
new CPUx86.Pushd(CPUx86.Registers.EAX);
|
||||
new CPUx86.Pushd(CPUx86.Registers.EAX);
|
||||
new CPUx86.Call(CPU.Label.GenerateLabelName(GCImplementationRefs.IncRefCountRef));
|
||||
new CPUx86.Call(CPU.Label.GenerateLabelName(GCImplementationRefs.IncRefCountRef));
|
||||
int xObjSize = 0;
|
||||
|
|
@ -55,7 +56,7 @@ namespace Indy.IL2CPU.IL.X86 {
|
|||
new CPUx86.Pushd("[esp + 0x8]");
|
||||
}
|
||||
new CPUx86.Call(CPU.Label.GenerateLabelName(aCtorDef));
|
||||
//new CPUx86.Pop(CPUx86.Registers.EAX);
|
||||
new CPUx86.Pop(CPUx86.Registers.EAX);
|
||||
// aAssembler.StackSizes.Pop();
|
||||
for (int i = 0; i < aCtorDef.Parameters.Count; i++) {
|
||||
new CPUx86.Add(CPUx86.Registers.ESP, "4");
|
||||
|
|
|
|||
Loading…
Reference in a new issue