diff options
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r-- | lib/CodeGen/MachineBasicBlock.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp index 318259d7f5..ebd492c7ac 100644 --- a/lib/CodeGen/MachineBasicBlock.cpp +++ b/lib/CodeGen/MachineBasicBlock.cpp @@ -94,9 +94,10 @@ void MachineBasicBlock::print(std::ostream &OS) const { } const BasicBlock *LBB = getBasicBlock(); - if (LBB) - OS << "\n" << LBB->getName() << " (" << (const void*)this - << ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber()<< "):\n"; + OS << "\n"; + if (LBB) OS << LBB->getName(); + OS << " (" << (const void*)this + << ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber()<< "):\n"; // Print the preds of this block according to the CFG. if (!pred_empty()) { OS << " Predecessors according to CFG:"; |