Skip to content
  • mhahnenberg@apple.com's avatar
    Remove putVirtual · 39512785
    mhahnenberg@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=70740
    
    Reviewed by Geoffrey Garen.
    
    Source/JavaScriptCore:
    
    Removed all declarations and definitions of putVirtual.
    Also replaced all call sites to putVirtual with a
    corresponding lookup in the MethodTable.
    
    * API/JSCallbackObject.h:
    * API/JSCallbackObjectFunctions.h:
    * API/JSObjectRef.cpp:
    (JSObjectSetProperty):
    (JSObjectSetPropertyAtIndex):
    * JavaScriptCore.exp:
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
    * debugger/DebuggerActivation.cpp:
    (JSC::DebuggerActivation::put):
    * debugger/DebuggerActivation.h:
    * dfg/DFGOperations.cpp:
    * interpreter/Interpreter.cpp:
    (JSC::Interpreter::execute):
    (JSC::Interpreter::privateExecute):
    * jsc.cpp:
    (GlobalObject::finishCreation):
    * runtime/Arguments.cpp:
    * runtime/Arguments.h:
    * runtime/ArrayPrototype.cpp:
    (JSC::putProperty):
    (JSC::arrayProtoFuncConcat):
    (JSC::arrayProtoFuncPush):
    (JSC::arrayProtoFuncReverse):
    (JSC::arrayProtoFuncShift):
    (JSC::arrayProtoFuncSlice):
    (JSC::arrayProtoFuncSort):
    (JSC::arrayProtoFuncSplice):
    (JSC::arrayProtoFuncUnShift):
    (JSC::arrayProtoFuncFilter):
    (JSC::arrayProtoFuncMap):
    * runtime/JSActivation.cpp:
    * runtime/JSActivation.h:
    * runtime/JSArray.cpp:
    (JSC::JSArray::putSlowCase):
    (JSC::JSArray::push):
    (JSC::JSArray::shiftCount):
    (JSC::JSArray::unshiftCount):
    * runtime/JSArray.h:
    * runtime/JSByteArray.cpp:
    * runtime/JSByteArray.h:
    * runtime/JSCell.cpp:
    (JSC::JSCell::put):
    (JSC::JSCell::putByIndex):
    * runtime/JSCell.h:
    * runtime/JSFunction.cpp:
    * runtime/JSFunction.h:
    * runtime/JSGlobalObject.cpp:
    * runtime/JSGlobalObject.h:
    * runtime/JSNotAnObject.cpp:
    * runtime/JSNotAnObject.h:
    * runtime/JSONObject.cpp:
    (JSC::Walker::walk):
    * runtime/JSObject.cpp:
    (JSC::JSObject::putByIndex):
    (JSC::JSObject::defineOwnProperty):
    * runtime/JSObject.h:
    (JSC::JSValue::put):
    * runtime/JSStaticScopeObject.cpp:
    * runtime/JSStaticScopeObject.h:
    * runtime/ObjectPrototype.cpp:
    * runtime/ObjectPrototype.h:
    * runtime/RegExpConstructor.cpp:
    * runtime/RegExpConstructor.h:
    * runtime/RegExpMatchesArray.h:
    * runtime/RegExpObject.cpp:
    * runtime/RegExpObject.h:
    * runtime/StringObject.cpp:
    * runtime/StringObject.h:
    * runtime/StringPrototype.cpp:
    (JSC::stringProtoFuncSplit):
    
    Source/JavaScriptGlue:
    
    Removed all declarations and definitions of putVirtual.
    Also replaced all call sites to putVirtual with a
    corresponding lookup in the MethodTable.
    
    * JSValueWrapper.cpp:
    (JSValueWrapper::JSObjectSetProperty):
    * UserObjectImp.cpp:
    * UserObjectImp.h:
    
    Source/WebCore:
    
    No new tests.
    
    Removed all declarations and definitions of putVirtual.
    Also replaced all call sites to putVirtual with a
    corresponding lookup in the MethodTable.
    
    * WebCore.exp.in:
    * bindings/js/JSDOMWindowCustom.cpp:
    * bindings/js/JSDOMWindowShell.cpp:
    (WebCore::JSDOMWindowShell::put):
    * bindings/js/JSDOMWindowShell.h:
    * bindings/js/JSPluginElementFunctions.cpp:
    (WebCore::runtimeObjectCustomPut):
    * bindings/js/SerializedScriptValue.cpp:
    (WebCore::CloneDeserializer::putProperty):
    * bindings/objc/WebScriptObject.mm:
    (-[WebScriptObject setValue:forKey:]):
    (-[WebScriptObject setWebScriptValueAtIndex:value:]):
    * bindings/scripts/CodeGeneratorJS.pm:
    (GenerateHeader):
    (GenerateImplementation):
    * bridge/NP_jsobject.cpp:
    (_NPN_SetProperty):
    * bridge/jni/jni_jsobject.mm:
    (JavaJSObject::setMember):
    (JavaJSObject::setSlot):
    * bridge/objc/objc_runtime.h:
    * bridge/objc/objc_runtime.mm:
    * bridge/qt/qt_runtime.cpp:
    (JSC::Bindings::convertQVariantToValue):
    * bridge/runtime_array.cpp:
    * bridge/runtime_array.h:
    * bridge/runtime_object.cpp:
    * bridge/runtime_object.h:
    * bridge/testqtbindings.cpp:
    (main):
    
    Source/WebKit/efl:
    
    Removed all declarations and definitions of putVirtual.
    Also replaced all call sites to putVirtual with a
    corresponding lookup in the MethodTable.
    
    * ewk/ewk_view.cpp:
    (ewk_view_js_object_add):
    
    Source/WebKit/mac:
    
    Removed all declarations and definitions of putVirtual.
    Also replaced all call sites to putVirtual with a
    corresponding lookup in the MethodTable.
    
    * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
    (WebKit::NetscapePluginInstanceProxy::setProperty):
    
    Source/WebKit/qt:
    
    Removed all declarations and definitions of putVirtual.
    Also replaced all call sites to putVirtual with a
    corresponding lookup in the MethodTable.
    
    * Api/qwebframe.cpp:
    (QWebFrame::addToJavaScriptWindowObject):
    
    Source/WebKit2:
    
    Removed all declarations and definitions of putVirtual.
    Also replaced all call sites to putVirtual with a
    corresponding lookup in the MethodTable.
    
    * WebProcess/Plugins/Netscape/JSNPObject.cpp:
    * WebProcess/Plugins/Netscape/JSNPObject.h:
    * WebProcess/Plugins/Netscape/NPJSObject.cpp:
    (WebKit::NPJSObject::setProperty):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    39512785