Ignore:
Timestamp:
Sep 22, 2017, 3:25:58 AM (8 years ago)
Author:
Yusuke Suzuki
Message:

Unreviewed, rolling out r222380.
https://bugs.webkit.org/show_bug.cgi?id=177352

Octane/box2d shows 8% regression (Requested by yusukesuzuki on
#webkit).

Reverted changeset:

"[DFG][FTL] Profile array vector length for array allocation"
https://bugs.webkit.org/show_bug.cgi?id=177051
http://trac.webkit.org/changeset/222380

Patch by Commit Queue <[email protected]> on 2017-09-22

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp

    r222380 r222382  
    42394239        if (!globalObject->isHavingABadTime() && !hasAnyArrayStorage(indexingType)) {
    42404240            unsigned numElements = node->numConstants();
    4241             unsigned vectorLengthHint = node->vectorLengthHint();
    4242             ASSERT(vectorLengthHint >= numElements);
    42434241           
    42444242            GPRTemporary result(this);
     
    42484246            GPRReg storageGPR = storage.gpr();
    42494247
    4250             emitAllocateRawObject(resultGPR, m_jit.graph().registerStructure(globalObject->arrayStructureForIndexingTypeDuringAllocation(indexingType)), storageGPR, numElements, vectorLengthHint);
     4248            emitAllocateRawObject(resultGPR, m_jit.graph().registerStructure(globalObject->arrayStructureForIndexingTypeDuringAllocation(indexingType)), storageGPR, numElements, numElements);
    42514249           
    42524250            DFG_ASSERT(m_jit.graph(), node, indexingType & IsArray);
Note: See TracChangeset for help on using the changeset viewer.