Chromium Code Reviews| Index: src/IceCfgNode.cpp |
| diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp |
| index 1a386c8e6bd17e8e35feb184ea390d6294a50541..f19552f2619e155cf41842ae8288a9c71886bd26 100644 |
| --- a/src/IceCfgNode.cpp |
| +++ b/src/IceCfgNode.cpp |
| @@ -495,7 +495,7 @@ void CfgNode::dump(Cfg *Func) const { |
| Str << " // preds = "; |
| bool First = true; |
| for (CfgNode *I : InEdges) { |
| - if (First) |
|
Jim Stichnoth
2014/10/04 00:15:24
Whoops, there were 3 cases like this where I got t
|
| + if (!First) |
| Str << ", "; |
| First = false; |
| Str << "%" << I->getName(); |
| @@ -540,7 +540,7 @@ void CfgNode::dump(Cfg *Func) const { |
| Str << " // succs = "; |
| bool First = true; |
| for (CfgNode *I : OutEdges) { |
| - if (First) |
| + if (!First) |
| Str << ", "; |
| First = false; |
| Str << "%" << I->getName(); |