Eliminate unused function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2001-07-28 04:15:45 +00:00
parent 4f23166133
commit 9b0b1ec1ec
2 changed files with 0 additions and 26 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

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