Ignore:
Timestamp:
Jul 24, 2013, 9:04:35 PM (12 years ago)
Author:
[email protected]
Message:

fourthTier: DFG::AbstractState::beginBasicBlock() should set m_haveStructures if any of the valuesAtHead have either a current known structure or a non-top/non-bottom array modes
https://bugs.webkit.org/show_bug.cgi?id=118489

Reviewed by Mark Hahnenberg.

  • bytecode/ArrayProfile.h:

(JSC::arrayModesAreClearOrTop):
(JSC):

  • dfg/DFGAbstractState.cpp:

(JSC::DFG::AbstractState::beginBasicBlock):

  • dfg/DFGAbstractValue.h:

(JSC::DFG::AbstractValue::hasClobberableState):
(AbstractValue):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGAbstractValue.h

    r153213 r153271  
    244244    }
    245245   
     246    bool hasClobberableState() const
     247    {
     248        return m_currentKnownStructure.isNeitherClearNorTop()
     249            || !arrayModesAreClearOrTop(m_arrayModes);
     250    }
     251   
    246252    void checkConsistency() const;
    247253   
Note: See TracChangeset for help on using the changeset viewer.