internal override bool Equals(Opcode op) { if (base.Equals(op)) { NumberEqualsOpcode opcode = (NumberEqualsOpcode)op; return(opcode.literal == this.literal); } return(false); }
internal override LiteralRelationOpcode ValidateOpcode(Opcode opcode) { NumberEqualsOpcode opcode2 = opcode as NumberEqualsOpcode; if (opcode2 != null) { return(opcode2); } return(null); }
internal override LiteralRelationOpcode ValidateOpcode(Opcode opcode) { NumberEqualsOpcode numOp = opcode as NumberEqualsOpcode; if (null != numOp) { return(numOp); } return(null); }
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); } }
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); }