diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-08-22 02:59:46 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-08-22 02:59:46 +0000 |
commit | da920aa55bcc779aef1dd3fa6e7e29c99b4e03c7 (patch) | |
tree | 372b29392ce45e9425ebed6bc50fe327dc10b457 /lib/CodeGen/InstrSelection/InstrForest.cpp | |
parent | 10472cec5ee5c001b42d58f0da10b203e5dce70d (diff) |
dumpNode() does not need to print MachineInstrs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSelection/InstrForest.cpp')
-rw-r--r-- | lib/CodeGen/InstrSelection/InstrForest.cpp | 17 |
1 files changed, 2 insertions, 15 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"; } |