-
mhahnenberg@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=71134 Reviewed by Darin Adler. Source/JavaScriptCore: Added defineGetter to the MethodTable. Replaced all virtual versions of defineGetter with static versions. Replaced all call sites with lookups in the MethodTable. * JavaScriptCore.exp: * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: * debugger/DebuggerActivation.cpp: (JSC::DebuggerActivation::defineGetter): * debugger/DebuggerActivation.h: * interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute): * jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION): * runtime/ClassInfo.h: * runtime/JSCell.cpp: (JSC::JSCell::defineGetter): * runtime/JSCell.h: * runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::defineGetter): * runtime/JSGlobalObject.h: * runtime/JSObject.cpp: (JSC::JSObject::defineGetter): (JSC::putDescriptor): * runtime/JSObject.h: * runtime/ObjectPrototype.cpp: (JSC::objectProtoFuncDefineGetter): Source/WebCore: No new tests. Added defineGetter to the MethodTable. Replaced all virtual versions of defineGetter with static versions. Replaced all call sites with lookups in the MethodTable. * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::defineGetter): * bindings/js/JSDOMWindowShell.cpp: (WebCore::JSDOMWindowShell::defineGetter): * bindings/js/JSDOMWindowShell.h: * bindings/js/JSLocationCustom.cpp: (WebCore::JSLocation::defineGetter): (WebCore::JSLocationPrototype::defineGetter): * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): Source/WebKit/qt: Added defineGetter to the MethodTable. Replaced all virtual versions of defineGetter with static versions. Replaced all call sites with lookups in the MethodTable. * Api/qwebframe.cpp: (QWebFramePrivate::addQtSenderToGlobalObject): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
74958c7b