Skip to content
  • mhahnenberg@apple.com's avatar
    Rename static put to putByIndex · 4f33efea
    mhahnenberg@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=70281
    
    Reviewed by Geoffrey Garen.
    
    Source/JavaScriptCore:
    
    Renaming versions of deleteProperty that use an unsigned as the property
    name to "deletePropertyByIndex" in preparation for adding them to the
    MethodTable, which requires unique names for each method.
    
    * dfg/DFGOperations.cpp:
    (JSC::DFG::putByVal):
    * jit/JITStubs.cpp:
    (JSC::DEFINE_STUB_FUNCTION):
    * runtime/Arguments.cpp:
    (JSC::Arguments::putVirtual):
    (JSC::Arguments::putByIndex):
    * runtime/Arguments.h:
    * runtime/ArrayPrototype.cpp:
    (JSC::arrayProtoFuncMap):
    * runtime/JSArray.cpp:
    (JSC::JSArray::put):
    (JSC::JSArray::putVirtual):
    (JSC::JSArray::putByIndex):
    * runtime/JSArray.h:
    * runtime/JSByteArray.cpp:
    (JSC::JSByteArray::putVirtual):
    (JSC::JSByteArray::putByIndex):
    * runtime/JSByteArray.h:
    * runtime/JSCell.cpp:
    (JSC::JSCell::putVirtual):
    (JSC::JSCell::putByIndex):
    * runtime/JSCell.h:
    * runtime/JSNotAnObject.cpp:
    (JSC::JSNotAnObject::putVirtual):
    (JSC::JSNotAnObject::putByIndex):
    * runtime/JSNotAnObject.h:
    * runtime/JSObject.cpp:
    (JSC::JSObject::putVirtual):
    (JSC::JSObject::putByIndex):
    * runtime/JSObject.h:
    * runtime/RegExpConstructor.cpp:
    (JSC::RegExpMatchesArray::fillArrayInstance):
    * runtime/RegExpMatchesArray.h:
    (JSC::RegExpMatchesArray::putVirtual):
    (JSC::RegExpMatchesArray::putByIndex):
    
    Source/WebCore:
    
    No new tests.
    
    Renaming versions of deleteProperty that use an unsigned as the property
    name to "deletePropertyByIndex" in preparation for adding them to the
    MethodTable, which requires unique names for each method.
    
    * bindings/scripts/CodeGeneratorJS.pm:
    (GenerateHeader):
    (GenerateImplementation):
    * bridge/runtime_array.cpp:
    (JSC::RuntimeArray::putVirtual):
    (JSC::RuntimeArray::putByIndex):
    * bridge/runtime_array.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4f33efea