From 985b6e3d13add3b881e7ac11acdb6714b44e570b Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Sat, 28 Jul 2001 04:15:45 +0000 Subject: Eliminate unused function. llvm-svn: 310 --- llvm/lib/CodeGen/InstrSelection/InstrForest.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'llvm/lib') 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 -- cgit v1.2.3