Skip to content
  • mhahnenberg@apple.com's avatar
    Remove deletePropertyVirtual · c0f87c17
    mhahnenberg@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=70738
    
    Reviewed by Geoffrey Garen.
    
    Source/JavaScriptCore: 
    
    Removed all declarations and definitions of deletePropertyVirtual.
    Also replaced all call sites to deletePropertyVirtual with a 
    corresponding lookup in the MethodTable.
    
    * API/JSCallbackObject.h:
    * API/JSCallbackObjectFunctions.h:
    (JSC::::deletePropertyByIndex):
    * API/JSObjectRef.cpp:
    (JSObjectDeleteProperty):
    * JavaScriptCore.exp:
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
    * debugger/DebuggerActivation.cpp:
    (JSC::DebuggerActivation::deleteProperty):
    * debugger/DebuggerActivation.h:
    * interpreter/Interpreter.cpp:
    (JSC::Interpreter::privateExecute):
    * jit/JITStubs.cpp:
    (JSC::DEFINE_STUB_FUNCTION):
    * runtime/Arguments.cpp:
    * runtime/Arguments.h:
    * runtime/ArrayPrototype.cpp:
    (JSC::arrayProtoFuncPop):
    (JSC::arrayProtoFuncReverse):
    (JSC::arrayProtoFuncShift):
    (JSC::arrayProtoFuncSplice):
    (JSC::arrayProtoFuncUnShift):
    * runtime/JSActivation.cpp:
    * runtime/JSActivation.h:
    * runtime/JSArray.cpp:
    (JSC::JSArray::deleteProperty):
    (JSC::JSArray::deletePropertyByIndex):
    * runtime/JSArray.h:
    * runtime/JSCell.cpp:
    (JSC::JSCell::deleteProperty):
    (JSC::JSCell::deletePropertyByIndex):
    * runtime/JSCell.h:
    * runtime/JSFunction.cpp:
    * runtime/JSFunction.h:
    * runtime/JSNotAnObject.cpp:
    * runtime/JSNotAnObject.h:
    * runtime/JSONObject.cpp:
    (JSC::Walker::walk):
    * runtime/JSObject.cpp:
    (JSC::JSObject::deletePropertyByIndex):
    (JSC::JSObject::defineOwnProperty):
    * runtime/JSObject.h:
    * runtime/JSVariableObject.cpp:
    * runtime/JSVariableObject.h:
    * runtime/RegExpMatchesArray.h:
    * runtime/StrictEvalActivation.cpp:
    * runtime/StrictEvalActivation.h:
    * runtime/StringObject.cpp:
    * runtime/StringObject.h:
    
    Source/WebCore: 
    
    No new tests.
    
    Removed all declarations and definitions of deletePropertyVirtual.
    Also replaced all call sites to deletePropertyVirtual with a 
    corresponding lookup in the MethodTable.
    
    * WebCore.exp.in:
    * bindings/js/JSDOMStringMapCustom.cpp:
    (WebCore::JSDOMStringMap::deleteProperty):
    * bindings/js/JSDOMWindowCustom.cpp:
    (WebCore::JSDOMWindow::deleteProperty):
    * bindings/js/JSDOMWindowShell.cpp:
    (WebCore::JSDOMWindowShell::deleteProperty):
    * bindings/js/JSDOMWindowShell.h:
    * bindings/js/JSHistoryCustom.cpp:
    (WebCore::JSHistory::deleteProperty):
    * bindings/js/JSLocationCustom.cpp:
    (WebCore::JSLocation::deleteProperty):
    * bindings/js/JSStorageCustom.cpp:
    (WebCore::JSStorage::deleteProperty):
    * bindings/js/ScriptObject.cpp:
    (WebCore::ScriptGlobalObject::remove):
    * bindings/objc/WebScriptObject.mm:
    (-[WebScriptObject removeWebScriptKey:]):
    * bindings/scripts/CodeGeneratorJS.pm:
    (GenerateHeader):
    * bridge/NP_jsobject.cpp:
    (_NPN_RemoveProperty):
    * bridge/jni/jni_jsobject.mm:
    (JavaJSObject::removeMember):
    * bridge/objc/objc_runtime.h:
    * bridge/objc/objc_runtime.mm:
    * bridge/runtime_array.cpp:
    * bridge/runtime_array.h:
    * bridge/runtime_object.cpp:
    * bridge/runtime_object.h:
    
    Source/WebKit/mac: 
    
    Removed all declarations and definitions of deletePropertyVirtual.
    Also replaced all call sites to deletePropertyVirtual with a 
    corresponding lookup in the MethodTable.
    
    * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
    (WebKit::NetscapePluginInstanceProxy::removeProperty):
    
    Source/WebKit2: 
    
    Removed all declarations and definitions of deletePropertyVirtual.
    Also replaced all call sites to deletePropertyVirtual with a 
    corresponding lookup in the MethodTable.
    
    * WebProcess/Plugins/Netscape/JSNPObject.cpp:
    * WebProcess/Plugins/Netscape/JSNPObject.h:
    * WebProcess/Plugins/Netscape/NPJSObject.cpp:
    (WebKit::NPJSObject::removeProperty):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c0f87c17