diff options
| author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-07-28 04:15:45 +0000 |
|---|---|---|
| committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-07-28 04:15:45 +0000 |
| commit | 9b0b1ec1ecc14d46a9e6e50e3ba4c054de239d83 (patch) | |
| tree | ca98872d58345ace02537da826c596b2619fa9a6 /lib/CodeGen/InstrSelection/InstrForest.cpp | |
| parent | 4f231661338dba94d3ba9c3c2dbbeff4fab85597 (diff) | |
Eliminate unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSelection/InstrForest.cpp')
| -rw-r--r-- | lib/CodeGen/InstrSelection/InstrForest.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrForest.cpp b/lib/CodeGen/InstrSelection/InstrForest.cpp index ed271a3100..ddac9fec92 100644 --- a/lib/CodeGen/InstrSelection/InstrForest.cpp +++ b/lib/CodeGen/InstrSelection/InstrForest.cpp @@ -125,19 +125,6 @@ InstructionNode::InstructionNode(Instruction* _instr) basicNode.opLabel = opLabel; } -void -InstructionNode::reverseBinaryArgumentOrder() -{ - assert(getInstruction()->isBinaryOp()); - - // switch arguments for the instruction - ((BinaryOperator*) getInstruction())->swapOperands(); - - // switch arguments for this tree node itself - BasicTreeNode* leftCopy = basicNode.leftChild; - basicNode.leftChild = basicNode.rightChild; - basicNode.rightChild = leftCopy; -} void InstructionNode::dumpNode(int indent) const |
