⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 176506 in webkit


Ignore:
Timestamp:
Nov 22, 2014, 11:07:26 AM (12 years ago)
Author:
msaboff@apple.com
Message:

r176455: ASSERT(!m_vector.isEmpty()) in IntendedStructureChain.cpp(143)
https://bugs.webkit.org/show_bug.cgi?id=139000

Reviewed by Darin Adler.

Check that the chainCount is non-zero before using a StructureChain.

  • bytecode/ComplexGetStatus.cpp:

(JSC::ComplexGetStatus::computeFor):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r176479 r176506  
     12014-11-21  Michael Saboff  <msaboff@apple.com>
     2
     3        r176455: ASSERT(!m_vector.isEmpty()) in IntendedStructureChain.cpp(143)
     4        https://bugs.webkit.org/show_bug.cgi?id=139000
     5
     6        Reviewed by Darin Adler.
     7
     8        Check that the chainCount is non-zero before using a StructureChain.
     9
     10        * bytecode/ComplexGetStatus.cpp:
     11        (JSC::ComplexGetStatus::computeFor):
     12
    1132014-11-21  Michael Saboff  <msaboff@apple.com>
    214
  • trunk/Source/JavaScriptCore/bytecode/ComplexGetStatus.cpp

    r173797 r176506  
    4747    result.m_kind = Inlineable;
    4848   
    49     if (chain) {
     49    if (chain && chainCount) {
    5050        result.m_chain = adoptRef(new IntendedStructureChain(
    5151            profiledBlock, headStructure, chain, chainCount));
Note: See TracChangeset for help on using the changeset viewer.