Chromium Code Reviews| Index: src/IceCfgNode.cpp |
| diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp |
| index f0fae92af6de29990c3fd0fb42e16d76460dc83b..191adea95b679e2976d1c14ee46d219016e516ac 100644 |
| --- a/src/IceCfgNode.cpp |
| +++ b/src/IceCfgNode.cpp |
| @@ -1182,6 +1182,9 @@ void CfgNode::dump(Cfg *Func) const { |
| if (Func->isVerbose(IceV_Instructions)) { |
| Str << getName() << ":\n"; |
| } |
| + // Dump the loop nest depth |
| + if (Func->isVerbose(IceV_Loop)) |
| + Str << " // LoopNestDepth = " << LoopNestDepth << "\n"; |
|
Jim Stichnoth
2015/09/01 22:17:37
I suggest adding the node label - getName() - to t
ascull
2015/09/03 19:52:37
Done.
|
| // Dump list of predecessor nodes. |
| if (Func->isVerbose(IceV_Preds) && !InEdges.empty()) { |
| Str << " // preds = "; |