internal override void Add(Opcode op) { StringEqualsOpcode opcode = op as StringEqualsOpcode; if (opcode == null) { base.Add(op); } else { StringEqualsBranchOpcode with = new StringEqualsBranchOpcode(); base.prev.Replace(this, with); with.Add(this); with.Add(opcode); } }
internal override void Add(Opcode op) { StringEqualsOpcode strEqOp = op as StringEqualsOpcode; if (null == strEqOp) { base.Add(op); return; } Fx.Assert(null != this.prev, ""); StringEqualsBranchOpcode branch = new StringEqualsBranchOpcode(); this.prev.Replace(this, branch); branch.Add(this); branch.Add(strEqOp); }
internal override void Add(Opcode op) { StringEqualsOpcode strEqOp = op as StringEqualsOpcode; if (null == strEqOp) { base.Add(op); return; } Fx.Assert(null != this.prev, ""); StringEqualsBranchOpcode branch = new StringEqualsBranchOpcode(); this.prev.Replace(this, branch); branch.Add(this); branch.Add(strEqOp); }