Cosmos/source/Indy.IL2CPU.IL.X86/X86InitVmtImplementationOp.cs

24 lines
697 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mono.Cecil;
using Mono.Cecil.Cil;
using CPU = Indy.IL2CPU.Assembler;
using CPUx86 = Indy.IL2CPU.Assembler.X86;
namespace Indy.IL2CPU.IL.X86 {
public class X86InitVmtImplementationOp: InitVmtImplementationOp {
public X86InitVmtImplementationOp(Instruction aInstruction, MethodInformation aMethodInfo)
: base(aInstruction, aMethodInfo) {
}
protected override void Pushd(string aValue) {
Assembler.Add(new CPUx86.Pushd(aValue));
}
protected override void Call(MethodDefinition aMethod) {
Assembler.Add(new CPUx86.Call(new CPU.Label(aMethod).Name));
}
}
}