Ignore:
Timestamp:
Jan 29, 2019, 1:55:51 PM (7 years ago)
Author:
[email protected]
Message:

[JSC] FTL should handle LocalAllocator*
https://bugs.webkit.org/show_bug.cgi?id=193980

Reviewed by Saam Barati.

At some point, Allocator holds LocalAllocator* instead of 32bit integer. In FTL allocation path, we fail to use this constant LocalAllocator*
because the FTL still use the incoming value as 32bit integer there.

  • ftl/FTLLowerDFGToB3.cpp:

(JSC::FTL::DFG::LowerDFGToB3::allocateHeapCell):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp

    r240637 r240679  
    1304213042    {
    1304313043        JITAllocator actualAllocator;
    13044         if (allocator->hasInt32())
     13044        if (allocator->hasIntPtr())
    1304513045            actualAllocator = JITAllocator::constant(Allocator(bitwise_cast<LocalAllocator*>(allocator->asIntPtr())));
    1304613046        else
Note: See TracChangeset for help on using the changeset viewer.