summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-07-28 04:15:45 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-07-28 04:15:45 +0000
commit985b6e3d13add3b881e7ac11acdb6714b44e570b (patch)
tree6dfed53741c82431957b92e5be5178e4d7dfea3d /llvm/lib
parent150460321e5d9e2545518214024886a03317a815 (diff)
downloadbcm5719-llvm-985b6e3d13add3b881e7ac11acdb6714b44e570b.tar.gz
bcm5719-llvm-985b6e3d13add3b881e7ac11acdb6714b44e570b.zip
Eliminate unused function.
llvm-svn: 310
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/InstrSelection/InstrForest.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp b/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp
index ed271a31008..ddac9fec92a 100644
--- a/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud