Changeset 215038 in webkit


Ignore:
Timestamp:
Apr 6, 2017 8:23:53 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[JSC][MIPS][DFG] Use x86 generic HasOwnProperty
https://bugs.webkit.org/show_bug.cgi?id=170222

Patch by Guillaume Emont <guijemont@igalia.com> on 2017-04-06
Reviewed by Yusuke Suzuki.

  • dfg/DFGFixupPhase.cpp:

(JSC::DFG::FixupPhase::fixupNode):
use the X86 special version for HasOwnProperty on MIPS too.

  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::compile):
use the X86 special version for HasOwnProperty on MIPS too.

Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r214979 r215038  
     12017-04-06  Guillaume Emont  <guijemont@igalia.com>
     2
     3        [JSC][MIPS][DFG] Use x86 generic HasOwnProperty
     4        https://bugs.webkit.org/show_bug.cgi?id=170222
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        * dfg/DFGFixupPhase.cpp:
     9        (JSC::DFG::FixupPhase::fixupNode):
     10        use the X86 special version for HasOwnProperty on MIPS too.
     11        * dfg/DFGSpeculativeJIT32_64.cpp:
     12        (JSC::DFG::SpeculativeJIT::compile):
     13        use the X86 special version for HasOwnProperty on MIPS too.
     14
    1152017-04-05  Saam Barati  <sbarati@apple.com>
    216
  • trunk/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp

    r214219 r215038  
    13831383        case HasOwnProperty: {
    13841384            fixEdge<ObjectUse>(node->child1());
    1385 #if CPU(X86) && USE(JSVALUE32_64)
    1386             // We don't have enough registers to do anything interesting on x86.
     1385#if (CPU(X86) || CPU(MIPS)) && USE(JSVALUE32_64)
     1386            // We don't have enough registers to do anything interesting on x86 and mips.
    13871387            fixEdge<UntypedUse>(node->child2());
    13881388#else
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp

    r214571 r215038  
    50785078
    50795079    case HasOwnProperty: {
    5080 #if CPU(X86)
     5080#if CPU(X86) || CPU(MIPS)
    50815081        ASSERT(node->child2().useKind() == UntypedUse);
    50825082        SpeculateCellOperand object(this, node->child1());
Note: See TracChangeset for help on using the changeset viewer.