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

Unified Diff: src/IceCfg.h

Issue 1837663002: Initial Subzero WASM prototype. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review feedback and merging master 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 | « src/IceBuildDefs.h ('k') | src/IceCfg.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfg.h
diff --git a/src/IceCfg.h b/src/IceCfg.h
index f9682e08bb256a300159b9d8ab9e3c72af9954dd..abb6722fbdc13d684f7239a681bd4070eddd86fa 100644
--- a/src/IceCfg.h
+++ b/src/IceCfg.h
@@ -256,6 +256,13 @@ public:
Allocator->Deallocate(Array);
}
+ /// Update Phi labels with InEdges.
+ ///
+ /// The WASM translator cannot always determine the right incoming edge for a
+ /// value due to the CFG being built incrementally. The fixPhiNodes pass fills
+ /// in the correct information once everything is known.
+ void fixPhiNodes();
+
private:
friend class CfgAllocatorTraits; // for Allocator access.
« no previous file with comments | « src/IceBuildDefs.h ('k') | src/IceCfg.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698