Changeset 183069 in webkit


Ignore:
Timestamp:
Apr 21, 2015 11:50:16 AM (9 years ago)
Author:
commit-queue@webkit.org
Message:

REGRESSION (r182899): icloud.com crashes
https://bugs.webkit.org/show_bug.cgi?id=143960

Patch by Basile Clement <basile_clement@apple.com> on 2015-04-21
Reviewed by Filip Pizlo.

  • runtime/JSFunction.h:

(JSC::JSFunction::allocationStructure):

  • tests/stress/dfg-rare-data.js: Added.

(F): Regression test

Location:
trunk/Source/JavaScriptCore
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r183067 r183069  
     12015-04-21  Basile Clement  <basile_clement@apple.com>
     2
     3        REGRESSION (r182899): icloud.com crashes
     4        https://bugs.webkit.org/show_bug.cgi?id=143960
     5
     6        Reviewed by Filip Pizlo.
     7
     8        * runtime/JSFunction.h:
     9        (JSC::JSFunction::allocationStructure):
     10        * tests/stress/dfg-rare-data.js: Added.
     11        (F): Regression test
     12
    1132015-04-21  Michael Saboff  <msaboff@apple.com>
    214
  • trunk/Source/JavaScriptCore/runtime/JSFunction.h

    r182929 r183069  
    119119    Structure* allocationStructure()
    120120    {
    121         ASSERT(m_rareData);
     121        if (!m_rareData)
     122            return nullptr;
     123
    122124        return m_rareData.get()->allocationStructure();
    123125    }
Note: See TracChangeset for help on using the changeset viewer.