Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: src/IceCfgNode.cpp

Issue 620373004: Subzero: Add a few performance measurement tools. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Improve the use of containers Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceClFlags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
+ 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();
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceClFlags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698