dumpNode() does not need to print MachineInstrs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3444 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2002-08-22 02:59:46 +00:00
parent 10472cec5e
commit da920aa55b
2 changed files with 4 additions and 30 deletions

View File

@ -118,21 +118,8 @@ InstructionNode::dumpNode(int indent) const
{
for (int i=0; i < indent; i++)
cerr << " ";
cerr << getInstruction()->getOpcodeName();
const MachineCodeForInstruction &mvec =
MachineCodeForInstruction::get(getInstruction());
if (!mvec.empty())
cerr << "\tMachine Instructions: ";
for (unsigned i = 0; i < mvec.size(); ++i) {
mvec[i]->dump();
if (i < mvec.size() - 1)
cerr << "; ";
}
cerr << "\n";
cerr << getInstruction()->getOpcodeName()
<< " [label " << getOpLabel() << "]" << "\n";
}

View File

@ -118,21 +118,8 @@ InstructionNode::dumpNode(int indent) const
{
for (int i=0; i < indent; i++)
cerr << " ";
cerr << getInstruction()->getOpcodeName();
const MachineCodeForInstruction &mvec =
MachineCodeForInstruction::get(getInstruction());
if (!mvec.empty())
cerr << "\tMachine Instructions: ";
for (unsigned i = 0; i < mvec.size(); ++i) {
mvec[i]->dump();
if (i < mvec.size() - 1)
cerr << "; ";
}
cerr << "\n";
cerr << getInstruction()->getOpcodeName()
<< " [label " << getOpLabel() << "]" << "\n";
}