Eliminate unused function.

llvm-svn: 310
This commit is contained in:
Vikram S. Adve 2001-07-28 04:15:45 +00:00
parent 150460321e
commit 985b6e3d13
1 changed files with 0 additions and 13 deletions

View File

@ -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