public override void Execute(ILOpCode instr, MethodBase aMethod) { switch (ILCompiler.CPUArchitecture) { #region _x86_ case CPUArch.x86: { Ldelem_Ref.Ldelem_x86(1, false); } break; #endregion #region _x64_ case CPUArch.x64: { } break; #endregion #region _ARM_ case CPUArch.ARM: { } break; #endregion } }
public override void Execute(ILOpCode instr, MethodBase aMethod) { var xOperand = ((OpType)instr).Value; var xSize = xOperand.SizeOf(); switch (ILCompiler.CPUArchitecture) { #region _x86_ case CPUArch.x86: { Ldelem_Ref.Ldelem_x86(xSize, false); } break; #endregion #region _x64_ case CPUArch.x64: { } break; #endregion #region _ARM_ case CPUArch.ARM: { } break; #endregion } }