mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 21:00:29 +00:00
Print preds / succs BB numbers.
llvm-svn: 35040
This commit is contained in:
parent
0049744cd8
commit
e7ba7ee5d8
@ -126,7 +126,7 @@ void MachineBasicBlock::print(std::ostream &OS) const {
|
||||
if (!pred_empty()) {
|
||||
OS << " Predecessors according to CFG:";
|
||||
for (const_pred_iterator PI = pred_begin(), E = pred_end(); PI != E; ++PI)
|
||||
OS << " " << *PI;
|
||||
OS << " " << *PI << " (#" << (*PI)->getNumber() << ")";
|
||||
OS << "\n";
|
||||
}
|
||||
|
||||
@ -139,7 +139,7 @@ void MachineBasicBlock::print(std::ostream &OS) const {
|
||||
if (!succ_empty()) {
|
||||
OS << " Successors according to CFG:";
|
||||
for (const_succ_iterator SI = succ_begin(), E = succ_end(); SI != E; ++SI)
|
||||
OS << " " << *SI;
|
||||
OS << " " << *SI << " (#" << (*SI)->getNumber() << ")";
|
||||
OS << "\n";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user