Changeset 120121 in webkit for trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
- Timestamp:
- Jun 12, 2012, 2:15:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
r119858 r120121 1563 1563 if (prediction == SpecNone) 1564 1564 addToGraph(ForceOSRExit); 1565 1566 NodeIndex originalBaseForBaselineJIT = base; 1565 1567 1566 1568 addToGraph(CheckStructure, OpInfo(m_graph.addStructureSet(getByIdStatus.structureSet())), base); … … 1580 1582 useInlineStorage = getByIdStatus.structureSet().allAreUsingInlinePropertyStorage(); 1581 1583 1584 // Unless we want bugs like https://bugs.webkit.org/show_bug.cgi?id=88783, we need to 1585 // ensure that the base of the original get_by_id is kept alive until we're done with 1586 // all of the speculations. We only insert the Phantom if there had been a CheckStructure 1587 // on something other than the base following the CheckStructure on base, or if the 1588 // access was compiled to a WeakJSConstant specific value, in which case we might not 1589 // have any explicit use of the base at all. 1590 if (getByIdStatus.specificValue() || originalBaseForBaselineJIT != base) 1591 addToGraph(Phantom, originalBaseForBaselineJIT); 1592 1582 1593 if (getByIdStatus.specificValue()) { 1583 1594 ASSERT(getByIdStatus.specificValue().isCell()); 1595 1584 1596 set(destinationOperand, 1585 1597 addToGraph(WeakJSConstant, OpInfo(getByIdStatus.specificValue().asCell())));
Note:
See TracChangeset
for help on using the changeset viewer.