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

Unified Diff: src/IceCfg.cpp

Issue 1890283002: Subzero, Wasm: Link and run torture tests; bug fixes. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review feedback Created 4 years, 8 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 | « runtime/wasm-runtime.c ('k') | src/IceCfgNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfg.cpp
diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
index 285b489ecce92ea61b7601add9664520fe872450..db2904d1f724ef4bb595487a122fe845a6024ccc 100644
--- a/src/IceCfg.cpp
+++ b/src/IceCfg.cpp
@@ -261,8 +261,9 @@ void Cfg::fixPhiNodes() {
void Cfg::computeInOutEdges() {
// Compute the out-edges.
- for (CfgNode *Node : Nodes)
+ for (CfgNode *Node : Nodes) {
Node->computeSuccessors();
+ }
// Prune any unreachable nodes before computing in-edges.
SizeT NumNodes = getNumNodes();
« no previous file with comments | « runtime/wasm-runtime.c ('k') | src/IceCfgNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698