Skip to content
  • mhahnenberg@apple.com's avatar
    Rename static getOwnPropertySlot to getOwnPropertySlotByIndex · 6f0c32e0
    mhahnenberg@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=70271
    
    Reviewed by Darin Adler.
    
    Source/JavaScriptCore:
    
    Renaming versions of getOwnPropertySlot that use an unsigned as the property
    name to "getOwnPropertySlotByIndex" in preparation for adding them to the
    MethodTable, which requires unique names for each method.
    
    * JavaScriptCore.exp:
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
    * runtime/Arguments.cpp:
    (JSC::Arguments::getOwnPropertySlotVirtual):
    (JSC::Arguments::getOwnPropertySlotByIndex):
    * runtime/Arguments.h:
    * runtime/JSArray.cpp:
    (JSC::JSArray::getOwnPropertySlotVirtual):
    (JSC::JSArray::getOwnPropertySlotByIndex):
    (JSC::JSArray::getOwnPropertySlot):
    * runtime/JSArray.h:
    * runtime/JSByteArray.cpp:
    (JSC::JSByteArray::getOwnPropertySlotVirtual):
    (JSC::JSByteArray::getOwnPropertySlotByIndex):
    * runtime/JSByteArray.h:
    * runtime/JSCell.cpp:
    (JSC::JSCell::getOwnPropertySlotVirtual):
    (JSC::JSCell::getOwnPropertySlotByIndex):
    * runtime/JSCell.h:
    * runtime/JSNotAnObject.cpp:
    (JSC::JSNotAnObject::getOwnPropertySlotVirtual):
    (JSC::JSNotAnObject::getOwnPropertySlotByIndex):
    * runtime/JSNotAnObject.h:
    * runtime/JSObject.cpp:
    (JSC::JSObject::getOwnPropertySlotVirtual):
    (JSC::JSObject::getOwnPropertySlotByIndex):
    * runtime/JSObject.h:
    * runtime/JSString.cpp:
    (JSC::JSString::getOwnPropertySlotVirtual):
    (JSC::JSString::getOwnPropertySlotByIndex):
    * runtime/JSString.h:
    * runtime/ObjectPrototype.cpp:
    (JSC::ObjectPrototype::getOwnPropertySlotVirtual):
    (JSC::ObjectPrototype::getOwnPropertySlotByIndex):
    * runtime/ObjectPrototype.h:
    * runtime/RegExpMatchesArray.h:
    (JSC::RegExpMatchesArray::getOwnPropertySlotVirtual):
    (JSC::RegExpMatchesArray::getOwnPropertySlotByIndex):
    * runtime/StringObject.cpp:
    (JSC::StringObject::getOwnPropertySlotVirtual):
    (JSC::StringObject::getOwnPropertySlotByIndex):
    * runtime/StringObject.h:
    
    Source/WebCore:
    
    No new tests.
    
    Renaming versions of getOwnPropertySlot that use an unsigned as the property
    name to "getOwnPropertySlotByIndex" in preparation for adding them to the
    MethodTable, which requires unique names for each method.
    
    * bindings/js/SerializedScriptValue.cpp:
    (WebCore::CloneSerializer::getSparseIndex):
    * bindings/scripts/CodeGeneratorJS.pm:
    (GenerateHeader):
    (GenerateImplementation):
    * bridge/runtime_array.cpp:
    (JSC::RuntimeArray::getOwnPropertySlotVirtual):
    (JSC::RuntimeArray::getOwnPropertySlotByIndex):
    * bridge/runtime_array.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6f0c32e0