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

Unified Diff: src/IceLiveness.cpp

Issue 1559243002: Suzero. X8664. NaCl Sandboxing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. Created 4 years, 11 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
Index: src/IceLiveness.cpp
diff --git a/src/IceLiveness.cpp b/src/IceLiveness.cpp
index 2bfa624d57cf03f5c3855648871e9b30291a7e7f..ff07c6430e094e0459a444fead28693fa54676f4 100644
--- a/src/IceLiveness.cpp
+++ b/src/IceLiveness.cpp
@@ -55,11 +55,11 @@ void Liveness::initInternal(NodeList::const_iterator FirstNode,
++Nodes[Index].NumLocals;
}
}
- if (IsFullInit)
+ if (IsFullInit) {
Jim Stichnoth 2016/01/14 00:09:52 I would just revert this change completely in this
John 2016/01/14 23:18:25 This was on the spirit of last afternoon's discuss
NumGlobals = TmpNumGlobals;
- else
+ } else {
assert(TmpNumGlobals == 0);
-
+ }
// Resize each LivenessNode::LiveToVarMap, and the global LiveToVarMap. Reset
// the counts to 0.
for (auto I = FirstNode, E = Func->getNodes().end(); I != E; ++I) {

Powered by Google App Engine
This is Rietveld 408576698