Ignore:
Timestamp:
Sep 22, 2015, 5:21:31 AM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r189616.
https://bugs.webkit.org/show_bug.cgi?id=149456

suspected cause of multiple regressions (Requested by kling on
#webkit).

Reverted changeset:

"[JSC] Weak should only accept cell pointees."
https://bugs.webkit.org/show_bug.cgi?id=148955
http://trac.webkit.org/changeset/189616

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/RegExpCache.cpp

    r189616 r190113  
    5757}
    5858
    59 void RegExpCache::finalize(JSCell*& cell, void*)
     59void RegExpCache::finalize(Handle<Unknown> handle, void*)
    6060{
    61     RegExp* regExp = jsCast<RegExp*>(cell);
     61    RegExp* regExp = static_cast<RegExp*>(handle.get().asCell());
    6262    weakRemove(m_weakCache, regExp->key(), regExp);
    6363}
Note: See TracChangeset for help on using the changeset viewer.