Changeset 172838 in webkit


Ignore:
Timestamp:
Aug 21, 2014 4:11:12 PM (10 years ago)
Author:
mark.lam@apple.com
Message:

REGRESSION(r172808): It made 6 different tests fail on 32 bit platforms.
<https://webkit.org/b/136123>

Reviewed by Filip Pizlo.

The original patch in r172808 removed the code to skip the top scope in
the 64-bit port of JIT::emitResolveClosure() but not in the 32-bit port.
This patch fixes that and achieves parity.

  • jit/JITPropertyAccess32_64.cpp:

(JSC::JIT::emitResolveClosure):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r172835 r172838  
     12014-08-21  Mark Lam  <mark.lam@apple.com>
     2
     3        REGRESSION(r172808): It made 6 different tests fail on 32 bit platforms.
     4        <https://webkit.org/b/136123>
     5
     6        Reviewed by Filip Pizlo.
     7
     8        The original patch in r172808 removed the code to skip the top scope in
     9        the 64-bit port of JIT::emitResolveClosure() but not in the 32-bit port.
     10        This patch fixes that and achieves parity.
     11
     12        * jit/JITPropertyAccess32_64.cpp:
     13        (JSC::JIT::emitResolveClosure):
     14
    1152014-08-21  Zalan Bujtas  <zalan@apple.com>
    216
  • trunk/Source/JavaScriptCore/jit/JITPropertyAccess32_64.cpp

    r172598 r172838  
    618618    move(TrustedImm32(JSValue::CellTag), regT1);
    619619    emitLoadPayload(JSStack::ScopeChain, regT0);
    620     if (m_codeBlock->needsActivation()) {
    621         emitLoadPayload(m_codeBlock->activationRegister().offset(), regT2);
    622         loadPtr(Address(regT2, JSScope::offsetOfNext()), regT0);
    623     }
    624620    for (unsigned i = 0; i < depth; ++i)
    625621        loadPtr(Address(regT0, JSScope::offsetOfNext()), regT0);
Note: See TracChangeset for help on using the changeset viewer.