summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-04 02:32:44 +0000
committerChris Lattner <sabre@nondot.org>2007-02-04 02:32:44 +0000
commit67612a1188980d92a4bdd84c34a5aa89a4b9d929 (patch)
treef3e75cdfe7e01235304944315630a9db3bf2f2f4 /include
parentc76e3c86026b9fa44bfbb0888881b52955078011 (diff)
downloadllvm-67612a1188980d92a4bdd84c34a5aa89a4b9d929.tar.gz
llvm-67612a1188980d92a4bdd84c34a5aa89a4b9d929.tar.bz2
llvm-67612a1188980d92a4bdd84c34a5aa89a4b9d929.tar.xz
eliminate some extraneous methods in SDNode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33867 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index e60c85684a..4a40e83977 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -990,31 +990,6 @@ protected:
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;