⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 245447 in webkit


Ignore:
Timestamp:
May 17, 2019, 4:24:54 AM (7 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r245051 - [JSC] DFG_ASSERT failed in lowInt52
https://bugs.webkit.org/show_bug.cgi?id=197569

Reviewed by Saam Barati.

JSTests:

  • stress/getstack-int52.js: Added.

(opt):
(main):

Source/JavaScriptCore:

GetStack with FlushedInt52 should load the flushed value in Int52 form and put the result in m_int52Values / m_strictInt52Values. Previously,
we load it in JSValue / Int32 form and lowInt52 fails to get appropriate one since GetStack does not put the result in m_int52Values / m_strictInt52Values.

  • ftl/FTLLowerDFGToB3.cpp:

(JSC::FTL::DFG::LowerDFGToB3::compileGetStack):

Location:
releases/WebKitGTK/webkit-2.24
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.24/JSTests/ChangeLog

    r245446 r245447  
     12019-05-07  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        [JSC] DFG_ASSERT failed in lowInt52
     4        https://bugs.webkit.org/show_bug.cgi?id=197569
     5
     6        Reviewed by Saam Barati.
     7
     8        * stress/getstack-int52.js: Added.
     9        (opt):
     10        (main):
     11
    1122019-05-06  Yusuke Suzuki  <ysuzuki@apple.com>
    213
  • releases/WebKitGTK/webkit-2.24/Source/JavaScriptCore/ChangeLog

    r245446 r245447  
     12019-05-07  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        [JSC] DFG_ASSERT failed in lowInt52
     4        https://bugs.webkit.org/show_bug.cgi?id=197569
     5
     6        Reviewed by Saam Barati.
     7
     8        GetStack with FlushedInt52 should load the flushed value in Int52 form and put the result in m_int52Values / m_strictInt52Values. Previously,
     9        we load it in JSValue / Int32 form and lowInt52 fails to get appropriate one since GetStack does not put the result in m_int52Values / m_strictInt52Values.
     10
     11        * ftl/FTLLowerDFGToB3.cpp:
     12        (JSC::FTL::DFG::LowerDFGToB3::compileGetStack):
     13
    1142019-05-06  Yusuke Suzuki  <ysuzuki@apple.com>
    215
  • releases/WebKitGTK/webkit-2.24/Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp

    r244010 r245447  
    17661766        DFG_ASSERT(m_graph, m_node, isConcrete(data->format), data->format);
    17671767       
    1768         if (data->format == FlushedDouble)
     1768        switch (data->format) {
     1769        case FlushedDouble:
    17691770            setDouble(m_out.loadDouble(addressFor(data->machineLocal)));
    1770         else if (isInt32Speculation(value.m_type))
    1771             setInt32(m_out.load32(payloadFor(data->machineLocal)));
    1772         else
    1773             setJSValue(m_out.load64(addressFor(data->machineLocal)));
     1771            break;
     1772        case FlushedInt52:
     1773            setInt52(m_out.load64(addressFor(data->machineLocal)));
     1774            break;
     1775        default:
     1776            if (isInt32Speculation(value.m_type))
     1777                setInt32(m_out.load32(payloadFor(data->machineLocal)));
     1778            else
     1779                setJSValue(m_out.load64(addressFor(data->machineLocal)));
     1780            break;
     1781        }
    17741782    }
    17751783   
Note: See TracChangeset for help on using the changeset viewer.