[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Chris Lattner
sabre at nondot.org
Sat Feb 3 18:33:04 PST 2007
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAGNodes.h updated: 1.168 -> 1.169
---
Log message:
eliminate some extraneous methods in SDNode
---
Diffs of the changes: (+0 -25)
SelectionDAGNodes.h | 25 -------------------------
1 files changed, 25 deletions(-)
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.168 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.169
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.168 Sat Feb 3 20:23:32 2007
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Sat Feb 3 20:32:44 2007
@@ -990,31 +990,6 @@
NumValues = L.NumVTs;
}
- void setOperands(SDOperand Op0) {
- assert(NumOperands == 0 && "Should not have operands yet!");
- OperandList = new SDOperand[1];
- OperandList[0] = Op0;
- NumOperands = 1;
- Op0.Val->Uses.push_back(this);
- }
- void setOperands(SDOperand Op0, SDOperand Op1) {
- assert(NumOperands == 0 && "Should not have operands yet!");
- OperandList = new SDOperand[2];
- OperandList[0] = Op0;
- OperandList[1] = Op1;
- NumOperands = 2;
- Op0.Val->Uses.push_back(this); Op1.Val->Uses.push_back(this);
- }
- void setOperands(SDOperand Op0, SDOperand Op1, SDOperand Op2) {
- assert(NumOperands == 0 && "Should not have operands yet!");
- OperandList = new SDOperand[3];
- OperandList[0] = Op0;
- OperandList[1] = Op1;
- OperandList[2] = Op2;
- NumOperands = 3;
- Op0.Val->Uses.push_back(this); Op1.Val->Uses.push_back(this);
- Op2.Val->Uses.push_back(this);
- }
void setOperands(const SDOperand *Ops, unsigned NumOps) {
assert(NumOperands == 0 && "Should not have operands yet!");
NumOperands = NumOps;
More information about the llvm-commits
mailing list