示例#1
0
        internal OpCode(OpCodeValue bc, NormalizedOpCodeValues normalizedValue, int arg, OpCodeMode reg,
                        OpCodeModeWide wide, bool cannotThrow)
        {
            Value = bc;
            Mode = reg;
            WideMode = wide;
            NormalizedValue = normalizedValue;

            this.arg = arg;
            Flags = OpCodeFlags.FixedArg;
            if (cannotThrow)
            {
                Flags |= OpCodeFlags.CannotThrow;
            }
        }
示例#2
0
 internal OpCode(OpCodeValue bc, NormalizedOpCodeValues normalizedValue, OpCodeMode reg, OpCodeModeWide wide,
                 bool cannotThrow)
     : this(bc, normalizedValue, 0, reg, wide, cannotThrow)
 {
 }