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 | 3f7698495264efa7d420965e92392938f38e768b (patch) | |
| tree | 796dfe9b964dbc8ad00e0092eab1b6239ce3e70d /llvm/lib | |
| parent | a6100862d33e1391516abd59f9d7a302d6b252d7 (diff) | |
| download | bcm5719-llvm-3f7698495264efa7d420965e92392938f38e768b.tar.gz bcm5719-llvm-3f7698495264efa7d420965e92392938f38e768b.zip | |
dumpNode() does not need to print MachineInstrs.
llvm-svn: 3444
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSelection/InstrForest.cpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp b/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp index c24c35b640b..eb9e7f940ed 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp +++ b/llvm/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"; } |

