Changeset 228035 in webkit for trunk/Source/JavaScriptCore/dfg/DFGLICMPhase.cpp
- Timestamp:
- Feb 2, 2018, 4:43:14 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGLICMPhase.cpp
r226928 r228035 127 127 // loop header must have a predecessor. (Also, we don't allow the root block to be a loop, 128 128 // which cuts out the one other way of having a loop header with only one predecessor.) 129 DFG_ASSERT(m_graph, header->at(0), header->predecessors.size() > 1 );129 DFG_ASSERT(m_graph, header->at(0), header->predecessors.size() > 1, header->predecessors.size()); 130 130 131 131 for (unsigned i = header->predecessors.size(); i--;) { … … 156 156 // broken. Therefore the predecessors must all have one successor, which implies that they 157 157 // must end in a Jump. 158 DFG_ASSERT(m_graph, preHeader->terminal(), preHeader->terminal()->op() == Jump );158 DFG_ASSERT(m_graph, preHeader->terminal(), preHeader->terminal()->op() == Jump, preHeader->terminal()->op()); 159 159 160 160 if (!preHeader->terminal()->origin.exitOK) … … 347 347 // don't have var-arg children. That may change and then we can fix this 348 348 // code. But for now we just assert that's the case. 349 DFG_ASSERT(m_graph, node, !(node->flags() & NodeHasVarArgs) );349 DFG_ASSERT(m_graph, node, !(node->flags() & NodeHasVarArgs), node->op(), node->flags()); 350 350 351 351 nodeRef = m_graph.addNode(Check, originalOrigin, node->children);
Note:
See TracChangeset
for help on using the changeset viewer.