diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/InstrSelection/InstrForest.cpp | 17 | ||||
-rw-r--r-- | lib/Target/SparcV9/InstrSelection/InstrForest.cpp | 17 |
2 files changed, 4 insertions, 30 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrForest.cpp b/lib/CodeGen/InstrSelection/InstrForest.cpp index c24c35b640..eb9e7f940e 100644 --- a/lib/CodeGen/InstrSelection/InstrForest.cpp +++ b/lib/CodeGen/InstrSelection/InstrForest.cpp @@ -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"; } diff --git a/lib/Target/SparcV9/InstrSelection/InstrForest.cpp b/lib/Target/SparcV9/InstrSelection/InstrForest.cpp index c24c35b640..eb9e7f940e 100644 --- a/lib/Target/SparcV9/InstrSelection/InstrForest.cpp +++ b/lib/Target/SparcV9/InstrSelection/InstrForest.cpp @@ -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"; } |