Remove deletePropertyVirtual
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):
(JSObjectDeleteProperty):
(JSC::DebuggerActivation::deleteProperty):
- debugger/DebuggerActivation.h:
- interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
(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):
(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):
(_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):