internal override void Add(Opcode op)
 {
     NumberEqualsOpcode opcode = op as NumberEqualsOpcode;
     if (opcode == null)
     {
         base.Add(op);
     }
     else
     {
         NumberEqualsBranchOpcode with = new NumberEqualsBranchOpcode();
         base.prev.Replace(this, with);
         with.Add(this);
         with.Add(opcode);
     }
 }
Exemple #2
0
        internal override void Add(Opcode op)
        {
            NumberEqualsOpcode opcode = op as NumberEqualsOpcode;

            if (opcode == null)
            {
                base.Add(op);
            }
            else
            {
                NumberEqualsBranchOpcode with = new NumberEqualsBranchOpcode();
                base.prev.Replace(this, with);
                with.Add(this);
                with.Add(opcode);
            }
        }
Exemple #3
0
        internal override void Add(Opcode op)
        {
            NumberEqualsOpcode numEqOp = op as NumberEqualsOpcode;

            if (null == numEqOp)
            {
                base.Add(op);
                return;
            }

            Fx.Assert(null != this.prev, "");

            NumberEqualsBranchOpcode branch = new NumberEqualsBranchOpcode();

            this.prev.Replace(this, branch);
            branch.Add(this);
            branch.Add(numEqOp);
        }
        internal override void Add(Opcode op)
        {
            NumberEqualsOpcode numEqOp = op as NumberEqualsOpcode;
            if (null == numEqOp)
            {
                base.Add(op);
                return;
            }

            Fx.Assert(null != this.prev, "");

            NumberEqualsBranchOpcode branch = new NumberEqualsBranchOpcode();
            this.prev.Replace(this, branch);
            branch.Add(this);
            branch.Add(numEqOp);
        }