Ignore:
Timestamp:
Sep 13, 2012, 1:40:00 AM (13 years ago)
Author:
[email protected]
Message:

Testing whether indexing type is ArrayWithArrayStorage should not compare against ArrayWithArrayStorage
https://bugs.webkit.org/show_bug.cgi?id=96611

Reviewed by Gavin Barraclough.

  • dfg/DFGRepatch.cpp:

(JSC::DFG::tryCacheGetByID):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::checkArray):

  • jit/JITPropertyAccess.cpp:

(JSC::JIT::privateCompilePatchGetArrayLength):

  • jit/JITPropertyAccess32_64.cpp:

(JSC::JIT::privateCompilePatchGetArrayLength):

  • llint/LowLevelInterpreter32_64.asm:
  • llint/LowLevelInterpreter64.asm:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm

    r128400 r128425  
    10251025        storep t2, ArrayProfile::m_lastSeenStructure[t1]
    10261026    end
    1027     bbneq Structure::m_indexingType[t2], IsArray | HasArrayStorage, .opGetArrayLengthSlow
     1027    loadb Structure::m_indexingType[t2], t1
     1028    btiz t1, IsArray, .opGetArrayLengthSlow
     1029    btiz t1, HasArrayStorage, .opGetArrayLengthSlow
    10281030    loadis 8[PB, PC, 8], t1
    10291031    loadp 64[PB, PC, 8], t2
Note: See TracChangeset for help on using the changeset viewer.