Skip to content
  • fpizlo@apple.com's avatar
    JSArray::putDirectIndex should by default behave like JSObject::putDirect · 3fbbc4f8
    fpizlo@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=95630
    
    Reviewed by Gavin Barraclough.
    
    Source/JavaScriptCore: 
    
    * interpreter/Interpreter.cpp:
    (JSC::Interpreter::privateExecute):
    * jit/JITStubs.cpp:
    (JSC::DEFINE_STUB_FUNCTION):
    * jsc.cpp:
    (GlobalObject::finishCreation):
    * llint/LLIntSlowPaths.cpp:
    (JSC::LLInt::LLINT_SLOW_PATH_DECL):
    * runtime/JSArray.cpp:
    (JSC::SparseArrayValueMap::putDirect):
    (JSC::JSArray::defineOwnNumericProperty):
    (JSC::JSArray::putDirectIndexBeyondVectorLength):
    * runtime/JSArray.h:
    (SparseArrayValueMap):
    (JSArray):
    (JSC::JSArray::putDirectIndex):
    * runtime/JSONObject.cpp:
    (JSC::Walker::walk):
    * runtime/RegExpMatchesArray.cpp:
    (JSC::RegExpMatchesArray::reifyAllProperties):
    (JSC::RegExpMatchesArray::reifyMatchProperty):
    * runtime/StringPrototype.cpp:
    (JSC::splitStringByOneCharacterImpl):
    (JSC::stringProtoFuncSplit):
    
    Source/WebCore: 
    
    No new tests because no change in behavior.
    
    * bindings/js/SerializedScriptValue.cpp:
    (WebCore::CloneDeserializer::putProperty):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3fbbc4f8