mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
24 lines
697 B
C#
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));
|
|
}
|
|
}
|
|
}
|