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/jit/JITThunks.cpp

    r189616 r190113  
    7777}
    7878
    79 void JITThunks::finalize(JSCell*& cell, void*)
     79void JITThunks::finalize(Handle<Unknown> handle, void*)
    8080{
    81     auto* nativeExecutable = jsCast<NativeExecutable*>(cell);
     81    auto* nativeExecutable = jsCast<NativeExecutable*>(handle.get().asCell());
    8282    weakRemove(*m_hostFunctionStubMap, std::make_pair(nativeExecutable->function(), nativeExecutable->constructor()), nativeExecutable);
    8383}
Note: See TracChangeset for help on using the changeset viewer.