예제 #1
0
        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
            }
        }
예제 #2
0
파일: Ldelem.cs 프로젝트: vdt/AtomOS
        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
            }
        }