Changeset 226298 in webkit


Ignore:
Timestamp:
Dec 27, 2017 2:52:39 AM (6 years ago)
Author:
zandobersek@gmail.com
Message:

REGRESSION(r225913): about 30 JSC test failures on ARMv7
https://bugs.webkit.org/show_bug.cgi?id=181162

Reviewed by Michael Catanzaro.

Fast case in DFG::SpeculativeJIT::compileArraySlice() was enabled in
r225913 on all but 32-bit x86 platform. Other 32-bit platforms have the
same lack of GP registers, so the conditional is changed here to only
enable this optimization explicitly on ARM64 and x86-64.

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compileArraySlice):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r226295 r226298  
     12017-12-27  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        REGRESSION(r225913): about 30 JSC test failures on ARMv7
     4        https://bugs.webkit.org/show_bug.cgi?id=181162
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        Fast case in DFG::SpeculativeJIT::compileArraySlice() was enabled in
     9        r225913 on all but 32-bit x86 platform. Other 32-bit platforms have the
     10        same lack of GP registers, so the conditional is changed here to only
     11        enable this optimization explicitly on ARM64 and x86-64.
     12
     13        * dfg/DFGSpeculativeJIT.cpp:
     14        (JSC::DFG::SpeculativeJIT::compileArraySlice):
     15
    1162017-12-26  Yusuke Suzuki  <utatane.tea@gmail.com>
    217
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

    r226269 r226298  
    76367636        m_jit.move(TrustedImmPtr(0), storageResultGPR);
    76377637        // X86 only has 6 GP registers, which is not enough for the fast case here. At least without custom code, which is not currently worth the extra code maintenance.
    7638         if (!isX86() || isX86_64()) {
     7638        if (isARM64() || isX86_64()) {
    76397639            GPRTemporary scratch(this);
    76407640            GPRTemporary scratch2(this);
Note: See TracChangeset for help on using the changeset viewer.