Chromium Code Reviews| 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) { |