Ignore:
Timestamp:
Mar 26, 2014, 8:08:12 AM (11 years ago)
Author:
Dániel Bátyai
Message:

Rename hasFastArrayStorage to be more appropriate
https://bugs.webkit.org/show_bug.cgi?id=130773

Reviewed by Filip Pizlo.

  • dfg/DFGArrayMode.cpp:

(JSC::DFG::ArrayMode::alreadyChecked):

  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGWatchpointCollectionPhase.cpp:

(JSC::DFG::WatchpointCollectionPhase::handle):

  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::LowerDFGToLLVM::compileNewArray):
(JSC::FTL::LowerDFGToLLVM::compileNewArrayBuffer):
(JSC::FTL::LowerDFGToLLVM::compileNewArrayWithSize):

  • runtime/ButterflyInlines.h:

(JSC::Butterfly::unshift):
(JSC::Butterfly::shift):

  • runtime/IndexingHeaderInlines.h:

(JSC::IndexingHeader::preCapacity):

  • runtime/IndexingType.h:

(JSC::hasArrayStorage):
(JSC::hasAnyArrayStorage):
(JSC::hasFastArrayStorage): Deleted.

  • runtime/JSArray.cpp:

(JSC::JSArray::sortVector):
(JSC::JSArray::compactForSorting):

  • runtime/JSArray.h:

(JSC::JSArray::create):
(JSC::JSArray::tryCreateUninitialized):

  • runtime/JSGlobalObject.cpp:
  • runtime/JSObject.cpp:

(JSC::JSObject::putDirectIndexBeyondVectorLengthWithArrayStorage):

  • runtime/JSObject.h:

(JSC::JSObject::ensureArrayStorage):
(JSC::JSObject::arrayStorage):

  • runtime/StructureTransitionTable.h:

(JSC::newIndexingType):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSObject.cpp

    r166217 r166292  
    20742074   
    20752075    // i should be a valid array index that is outside of the current vector.
    2076     ASSERT(hasArrayStorage(indexingType()));
     2076    ASSERT(hasAnyArrayStorage(indexingType()));
    20772077    ASSERT(arrayStorage() == storage);
    20782078    ASSERT(i >= storage->vectorLength() || attributes);
Note: See TracChangeset for help on using the changeset viewer.