• mhahnenberg@apple.com's avatar
    Remove getConstructDataVirtual · 99f1bca0
    mhahnenberg@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=70638
    
    Reviewed by Darin Adler.
    
    Source/JavaScriptCore: 
    
    Removed all declarations and definitions of getConstructDataVirtual.
    Also replaced all call sites to getConstructDataVirtual with a 
    corresponding lookup in the MethodTable.
    
    * API/JSCallbackConstructor.cpp:
    * API/JSCallbackConstructor.h:
    * API/JSCallbackObject.h:
    * API/JSCallbackObjectFunctions.h:
    * API/JSObjectRef.cpp:
    (JSObjectIsConstructor):
    (JSObjectCallAsConstructor):
    * JavaScriptCore.exp:
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
    * dfg/DFGOperations.cpp:
    * interpreter/Interpreter.cpp:
    (JSC::Interpreter::privateExecute):
    * jit/JITStubs.cpp:
    (JSC::DEFINE_STUB_FUNCTION):
    * runtime/ArrayConstructor.cpp:
    * runtime/ArrayConstructor.h:
    * runtime/BooleanConstructor.cpp:
    * runtime/BooleanConstructor.h:
    * runtime/DateConstructor.cpp:
    * runtime/DateConstructor.h:
    * runtime/Error.h:
    (JSC::StrictModeTypeErrorFunction::getConstructData):
    * runtime/ErrorConstructor.cpp:
    * runtime/ErrorConstructor.h:
    * runtime/FunctionConstructor.cpp:
    * runtime/FunctionConstructor.h:
    * runtime/JSCell.cpp:
    * runtime/JSCell.h:
    * runtime/JSFunction.cpp:
    * runtime/JSFunction.h:
    * runtime/JSObject.h:
    (JSC::getConstructData):
    * runtime/NativeErrorConstructor.cpp:
    * runtime/NativeErrorConstructor.h:
    * runtime/NumberConstructor.cpp:
    * runtime/NumberConstructor.h:
    * runtime/ObjectConstructor.cpp:
    * runtime/ObjectConstructor.h:
    * runtime/RegExpConstructor.cpp:
    * runtime/RegExpConstructor.h:
    * runtime/StringConstructor.cpp:
    * runtime/StringConstructor.h:
    
    Source/WebCore: 
    
    No new tests.
    
    Removed all declarations and definitions of getConstructDataVirtual.
    Also replaced all call sites to getConstructDataVirtual with a 
    corresponding lookup in the MethodTable.
    
    * WebCore.exp.in:
    * bindings/js/JSAudioConstructor.cpp:
    * bindings/js/JSAudioConstructor.h:
    * bindings/js/JSImageConstructor.cpp:
    * bindings/js/JSImageConstructor.h:
    * bindings/js/JSOptionConstructor.cpp:
    * bindings/js/JSOptionConstructor.h:
    * bindings/js/ScriptFunctionCall.cpp:
    (WebCore::ScriptFunctionCall::construct):
    * bindings/scripts/CodeGeneratorJS.pm:
    (GenerateConstructorDeclaration):
    (GenerateConstructorDefinition):
    * bridge/runtime_object.cpp:
    * bridge/runtime_object.h:
    
    Source/WebKit/mac: 
    
    Removed all declarations and definitions of getConstructDataVirtual.
    Also replaced all call sites to getConstructDataVirtual with a 
    corresponding lookup in the MethodTable.
    
    * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
    (WebKit::NetscapePluginInstanceProxy::construct):
    
    Source/WebKit2: 
    
    Removed all declarations and definitions of getConstructDataVirtual.
    Also replaced all call sites to getConstructDataVirtual with a 
    corresponding lookup in the MethodTable.
    
    * WebProcess/Plugins/Netscape/JSNPObject.cpp:
    * WebProcess/Plugins/Netscape/JSNPObject.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    99f1bca0
StringConstructor.cpp 4.72 KB