Changeset 240679 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Jan 29, 2019, 1:55:51 PM (6 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):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r240668 r240679  
     12019-01-29  Yusuke Suzuki  <[email protected]>
     2
     3        [JSC] FTL should handle LocalAllocator*
     4        https://bugs.webkit.org/show_bug.cgi?id=193980
     5
     6        Reviewed by Saam Barati.
     7
     8        At some point, Allocator holds LocalAllocator* instead of 32bit integer. In FTL allocation path, we fail to use this constant LocalAllocator*
     9        because the FTL still use the incoming value as 32bit integer there.
     10
     11        * ftl/FTLLowerDFGToB3.cpp:
     12        (JSC::FTL::DFG::LowerDFGToB3::allocateHeapCell):
     13
    1142019-01-29  Keith Rollin  <[email protected]>
    215
  • 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.