Exemplo n.º 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
            }
        }
Exemplo n.º 2
0
Arquivo: Ldelem.cs Projeto: 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
            }
        }