Reviewed by Maciej Stachowiak.
Bug 20704: Replace the KJS namespace
<https://bugs.webkit.org/show_bug.cgi?id=20704>
Rename the KJS namespace to JSC. There are still some uses of KJS in
preprocessor macros and comments, but these will also be changed some
time in the near future. There are also some uses in the names of JNI
functions, but I will check if these are safe to change as well.
JavaScriptCore:
* API/APICast.h:
(toJS):
(toRef):
(toGlobalRef):
* API/JSBase.cpp:
* API/JSCallbackConstructor.cpp:
* API/JSCallbackConstructor.h:
* API/JSCallbackFunction.cpp:
* API/JSCallbackFunction.h:
* API/JSCallbackObject.cpp:
* API/JSCallbackObject.h:
* API/JSCallbackObjectFunctions.h:
* API/JSClassRef.cpp:
(OpaqueJSClass::staticValues):
(OpaqueJSClass::staticFunctions):
* API/JSClassRef.h:
* API/JSContextRef.cpp:
* API/JSObjectRef.cpp:
* API/JSProfilerPrivate.cpp:
* API/JSStringRef.cpp:
* API/JSValueRef.cpp:
(JSValueGetType):
* API/OpaqueJSString.cpp:
* API/OpaqueJSString.h:
* JavaScriptCore.Debug.exp:
* JavaScriptCore.base.exp:
* VM/CTI.cpp:
(JSC::):
* VM/CTI.h:
* VM/CodeBlock.cpp:
* VM/CodeBlock.h:
* VM/CodeGenerator.cpp:
* VM/CodeGenerator.h:
* VM/ExceptionHelpers.cpp:
* VM/ExceptionHelpers.h:
* VM/Instruction.h:
* VM/JSPropertyNameIterator.cpp:
* VM/JSPropertyNameIterator.h:
* VM/LabelID.h:
* VM/Machine.cpp:
* VM/Machine.h:
* VM/Opcode.cpp:
* VM/Opcode.h:
* VM/Register.h:
(WTF::):
* VM/RegisterFile.cpp:
* VM/RegisterFile.h:
* VM/RegisterID.h:
(WTF::):
* VM/SamplingTool.cpp:
* VM/SamplingTool.h:
* VM/SegmentedVector.h:
* kjs/ArgList.cpp:
* kjs/ArgList.h:
* kjs/Arguments.cpp:
* kjs/Arguments.h:
* kjs/ArrayConstructor.cpp:
* kjs/ArrayConstructor.h:
* kjs/ArrayPrototype.cpp:
* kjs/ArrayPrototype.h:
* kjs/BatchedTransitionOptimizer.h:
* kjs/BooleanConstructor.cpp:
* kjs/BooleanConstructor.h:
* kjs/BooleanObject.cpp:
* kjs/BooleanObject.h:
* kjs/BooleanPrototype.cpp:
* kjs/BooleanPrototype.h:
* kjs/CallData.cpp:
* kjs/CallData.h:
* kjs/ClassInfo.h:
* kjs/CommonIdentifiers.cpp:
* kjs/CommonIdentifiers.h:
* kjs/ConstructData.cpp:
* kjs/ConstructData.h:
* kjs/DateConstructor.cpp:
* kjs/DateConstructor.h:
* kjs/DateInstance.cpp:
(JSC::DateInstance::msToGregorianDateTime):
* kjs/DateInstance.h:
* kjs/DateMath.cpp:
* kjs/DateMath.h:
* kjs/DatePrototype.cpp:
* kjs/DatePrototype.h:
* kjs/DebuggerCallFrame.cpp:
* kjs/DebuggerCallFrame.h:
* kjs/Error.cpp:
* kjs/Error.h:
* kjs/ErrorConstructor.cpp:
* kjs/ErrorConstructor.h:
* kjs/ErrorInstance.cpp:
* kjs/ErrorInstance.h:
* kjs/ErrorPrototype.cpp:
* kjs/ErrorPrototype.h:
* kjs/ExecState.cpp:
* kjs/ExecState.h:
* kjs/FunctionConstructor.cpp:
* kjs/FunctionConstructor.h:
* kjs/FunctionPrototype.cpp:
* kjs/FunctionPrototype.h:
* kjs/GetterSetter.cpp:
* kjs/GetterSetter.h:
* kjs/GlobalEvalFunction.cpp:
* kjs/GlobalEvalFunction.h:
* kjs/IndexToNameMap.cpp:
* kjs/IndexToNameMap.h:
* kjs/InitializeThreading.cpp:
* kjs/InitializeThreading.h:
* kjs/InternalFunction.cpp:
* kjs/InternalFunction.h:
(JSC::InternalFunction::InternalFunction):
* kjs/JSActivation.cpp:
* kjs/JSActivation.h:
* kjs/JSArray.cpp:
* kjs/JSArray.h:
* kjs/JSCell.cpp:
* kjs/JSCell.h:
* kjs/JSFunction.cpp:
* kjs/JSFunction.h:
(JSC::JSFunction::JSFunction):
* kjs/JSGlobalData.cpp:
(JSC::JSGlobalData::JSGlobalData):
* kjs/JSGlobalData.h:
* kjs/JSGlobalObject.cpp:
* kjs/JSGlobalObject.h:
* kjs/JSGlobalObjectFunctions.cpp:
* kjs/JSGlobalObjectFunctions.h:
* kjs/JSImmediate.cpp:
* kjs/JSImmediate.h:
* kjs/JSLock.cpp:
* kjs/JSLock.h:
* kjs/JSNotAnObject.cpp:
* kjs/JSNotAnObject.h:
* kjs/JSNumberCell.cpp:
* kjs/JSNumberCell.h:
* kjs/JSObject.cpp:
* kjs/JSObject.h:
* kjs/JSStaticScopeObject.cpp:
* kjs/JSStaticScopeObject.h:
* kjs/JSString.cpp:
* kjs/JSString.h:
* kjs/JSType.h:
* kjs/JSValue.cpp:
* kjs/JSValue.h:
* kjs/JSVariableObject.cpp:
* kjs/JSVariableObject.h:
* kjs/JSWrapperObject.cpp:
* kjs/JSWrapperObject.h:
* kjs/LabelStack.cpp:
* kjs/LabelStack.h:
* kjs/MathObject.cpp:
* kjs/MathObject.h:
* kjs/NativeErrorConstructor.cpp:
* kjs/NativeErrorConstructor.h:
* kjs/NativeErrorPrototype.cpp:
* kjs/NativeErrorPrototype.h:
* kjs/NodeInfo.h:
* kjs/NumberConstructor.cpp:
* kjs/NumberConstructor.h:
* kjs/NumberObject.cpp:
* kjs/NumberObject.h:
* kjs/NumberPrototype.cpp:
* kjs/NumberPrototype.h:
* kjs/ObjectConstructor.cpp:
* kjs/ObjectConstructor.h:
* kjs/ObjectPrototype.cpp:
* kjs/ObjectPrototype.h:
* kjs/Parser.cpp:
* kjs/Parser.h:
* kjs/PropertyMap.cpp:
(JSC::PropertyMapStatisticsExitLogger::~PropertyMapStatisticsExitLogger):
* kjs/PropertyMap.h:
* kjs/PropertyNameArray.cpp:
* kjs/PropertyNameArray.h:
* kjs/PropertySlot.cpp:
* kjs/PropertySlot.h:
* kjs/PrototypeFunction.cpp:
* kjs/PrototypeFunction.h:
* kjs/PutPropertySlot.h:
* kjs/RegExpConstructor.cpp:
* kjs/RegExpConstructor.h:
* kjs/RegExpObject.cpp:
* kjs/RegExpObject.h:
* kjs/RegExpPrototype.cpp:
* kjs/RegExpPrototype.h:
* kjs/ScopeChain.cpp:
* kjs/ScopeChain.h:
* kjs/ScopeChainMark.h:
* kjs/Shell.cpp:
(jscmain):
* kjs/SmallStrings.cpp:
* kjs/SmallStrings.h:
* kjs/SourceProvider.h:
* kjs/SourceRange.h:
* kjs/StringConstructor.cpp:
* kjs/StringConstructor.h:
* kjs/StringObject.cpp:
* kjs/StringObject.h:
* kjs/StringObjectThatMasqueradesAsUndefined.h:
* kjs/StringPrototype.cpp:
* kjs/StringPrototype.h:
* kjs/StructureID.cpp:
* kjs/StructureID.h:
* kjs/SymbolTable.h:
* kjs/collector.cpp:
* kjs/collector.h:
* kjs/completion.h:
* kjs/create_hash_table:
* kjs/debugger.cpp:
* kjs/debugger.h:
* kjs/dtoa.cpp:
* kjs/dtoa.h:
* kjs/grammar.y:
* kjs/identifier.cpp:
* kjs/identifier.h:
(JSC::Identifier::equal):
* kjs/interpreter.cpp:
* kjs/interpreter.h:
* kjs/lexer.cpp:
(JSC::Lexer::Lexer):
(JSC::Lexer::clear):
(JSC::Lexer::makeIdentifier):
* kjs/lexer.h:
* kjs/lookup.cpp:
* kjs/lookup.h:
* kjs/nodes.cpp:
* kjs/nodes.h:
* kjs/nodes2string.cpp:
* kjs/operations.cpp:
* kjs/operations.h:
* kjs/protect.h:
* kjs/regexp.cpp:
* kjs/regexp.h:
* kjs/ustring.cpp:
* kjs/ustring.h:
(JSC::operator!=):
(JSC::IdentifierRepHash::hash):
(WTF::):
* masm/MacroAssembler.h:
* masm/MacroAssemblerWin.cpp:
* masm/X86Assembler.h:
* pcre/pcre_exec.cpp:
* profiler/CallIdentifier.h:
(WTF::):
* profiler/HeavyProfile.cpp:
* profiler/HeavyProfile.h:
* profiler/Profile.cpp:
* profiler/Profile.h:
* profiler/ProfileGenerator.cpp:
* profiler/ProfileGenerator.h:
* profiler/ProfileNode.cpp:
* profiler/ProfileNode.h:
* profiler/Profiler.cpp:
* profiler/Profiler.h:
* profiler/TreeProfile.cpp:
* profiler/TreeProfile.h:
* wrec/WREC.cpp:
* wrec/WREC.h:
* wtf/AVLTree.h:
WebCore:
* WebCore.base.exp:
* bindings/js/GCController.cpp:
* bindings/js/JSAttrCustom.cpp:
* bindings/js/JSAudioConstructor.cpp:
* bindings/js/JSAudioConstructor.h:
(WebCore::JSAudioConstructor::classInfo):
* bindings/js/JSCSSRuleCustom.cpp:
* bindings/js/JSCSSStyleDeclarationCustom.cpp:
* bindings/js/JSCSSValueCustom.cpp:
* bindings/js/JSCanvasPixelArrayCustom.cpp:
* bindings/js/JSCanvasRenderingContext2DCustom.cpp:
* bindings/js/JSClipboardCustom.cpp:
* bindings/js/JSConsoleCustom.cpp:
* bindings/js/JSCustomSQLStatementCallback.cpp:
(WebCore::JSCustomSQLStatementCallback::handleEvent):
* bindings/js/JSCustomSQLStatementCallback.h:
(WebCore::JSCustomSQLStatementCallback::create):
* bindings/js/JSCustomSQLStatementErrorCallback.cpp:
(WebCore::JSCustomSQLStatementErrorCallback::handleEvent):
* bindings/js/JSCustomSQLStatementErrorCallback.h:
(WebCore::JSCustomSQLStatementErrorCallback::create):
* bindings/js/JSCustomSQLTransactionCallback.cpp:
(WebCore::JSCustomSQLTransactionCallback::handleEvent):
* bindings/js/JSCustomSQLTransactionCallback.h:
(WebCore::JSCustomSQLTransactionCallback::create):
* bindings/js/JSCustomSQLTransactionErrorCallback.cpp:
(WebCore::JSCustomSQLTransactionErrorCallback::handleEvent):
* bindings/js/JSCustomSQLTransactionErrorCallback.h:
(WebCore::JSCustomSQLTransactionErrorCallback::create):
* bindings/js/JSCustomVoidCallback.cpp:
(WebCore::JSCustomVoidCallback::handleEvent):
* bindings/js/JSCustomVoidCallback.h:
(WebCore::JSCustomVoidCallback::create):
* bindings/js/JSCustomXPathNSResolver.cpp:
(WebCore::JSCustomXPathNSResolver::create):
* bindings/js/JSCustomXPathNSResolver.h:
* bindings/js/JSDOMApplicationCacheCustom.cpp:
(WebCore::JSDOMApplicationCache::dispatchEvent):
* bindings/js/JSDOMBinding.cpp:
(WebCore::jsOwnedStringOrNull):
* bindings/js/JSDOMBinding.h:
(WebCore::DOMObject::DOMObject):
(WebCore::cacheDOMObject):
(WebCore::cacheSVGDOMObject):
(WebCore::DOMExceptionTranslator::DOMExceptionTranslator):
(WebCore::toJS):
* bindings/js/JSDOMWindowBase.cpp:
* bindings/js/JSDOMWindowBase.h:
(WebCore::JSDOMWindowBase::classInfo):
(WebCore::JSDOMWindowBase::d):
* bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::getPropertyAttributes):
* bindings/js/JSDOMWindowCustom.h:
(WebCore::asJSDOMWindow):
(WebCore::JSDOMWindow::customGetOwnPropertySlot):
(WebCore::JSDOMWindow::customPut):
(WebCore::JSDOMWindowBase::allowsAccessFrom):
(WebCore::JSDOMWindowBase::allowsAccessFromNoErrorMessage):
* bindings/js/JSDOMWindowShell.cpp:
(WebCore::JSDOMWindowShell::getPropertyAttributes):
* bindings/js/JSDOMWindowShell.h:
(WebCore::JSDOMWindowShell::classInfo):
* bindings/js/JSDatabaseCustom.cpp:
* bindings/js/JSDocumentCustom.cpp:
* bindings/js/JSDocumentFragmentCustom.cpp:
* bindings/js/JSElementCustom.cpp:
* bindings/js/JSEventCustom.cpp:
* bindings/js/JSEventListener.cpp:
* bindings/js/JSEventListener.h:
(WebCore::JSUnprotectedEventListener::create):
(WebCore::JSEventListener::create):
* bindings/js/JSEventTargetBase.cpp:
* bindings/js/JSEventTargetBase.h:
(WebCore::JSEventTargetBase::getValueProperty):
(WebCore::JSEventTargetBase::putValueProperty):
(WebCore::JSEventTargetBase::getOwnPropertySlot):
(WebCore::JSEventTargetBase::put):
(WebCore::JSEventTargetPrototype::JSEventTargetPrototype):
(WebCore::JSEventTargetPrototype::self):
(WebCore::JSEventTargetPrototype::getOwnPropertySlot):
(WebCore::JSEventTargetPrototype::classInfo):
* bindings/js/JSEventTargetNode.cpp:
* bindings/js/JSEventTargetNode.h:
(WebCore::JSEventTargetNode::getOwnPropertySlot):
(WebCore::JSEventTargetNode::getValueProperty):
(WebCore::JSEventTargetNode::put):
(WebCore::JSEventTargetNode::putValueProperty):
* bindings/js/JSHTMLAllCollection.h:
(WebCore::JSHTMLAllCollection::JSHTMLAllCollection):
(WebCore::JSHTMLAllCollection::toBoolean):
* bindings/js/JSHTMLAppletElementCustom.cpp:
* bindings/js/JSHTMLCollectionCustom.cpp:
* bindings/js/JSHTMLDocumentCustom.cpp:
* bindings/js/JSHTMLElementCustom.cpp:
* bindings/js/JSHTMLEmbedElementCustom.cpp:
* bindings/js/JSHTMLFormElementCustom.cpp:
* bindings/js/JSHTMLFrameElementCustom.cpp:
* bindings/js/JSHTMLFrameSetElementCustom.cpp:
* bindings/js/JSHTMLIFrameElementCustom.cpp:
* bindings/js/JSHTMLInputElementBase.cpp:
(WebCore::JSHTMLInputElementBase::JSHTMLInputElementBase):
(WebCore::JSHTMLInputElementBase::getOwnPropertySlot):
* bindings/js/JSHTMLInputElementBase.h:
(WebCore::JSHTMLInputElementBase::classInfo):
* bindings/js/JSHTMLObjectElementCustom.cpp:
* bindings/js/JSHTMLOptionElementConstructor.cpp:
* bindings/js/JSHTMLOptionElementConstructor.h:
(WebCore::JSHTMLOptionElementConstructor::classInfo):
* bindings/js/JSHTMLOptionsCollectionCustom.cpp:
* bindings/js/JSHTMLSelectElementCustom.cpp:
(WebCore::selectIndexSetter):
(WebCore::JSHTMLSelectElement::indexSetter):
* bindings/js/JSHTMLSelectElementCustom.h:
* bindings/js/JSHistoryCustom.cpp:
* bindings/js/JSImageConstructor.cpp:
* bindings/js/JSImageConstructor.h:
(WebCore::JSImageConstructor::classInfo):
* bindings/js/JSInspectedObjectWrapper.cpp:
* bindings/js/JSInspectedObjectWrapper.h:
(WebCore::JSInspectedObjectWrapper::wrapOutgoingValue):
(WebCore::JSInspectedObjectWrapper::classInfo):
* bindings/js/JSInspectorCallbackWrapper.cpp:
* bindings/js/JSInspectorCallbackWrapper.h:
(WebCore::JSInspectorCallbackWrapper::classInfo):
(WebCore::JSInspectorCallbackWrapper::wrapOutgoingValue):
* bindings/js/JSJavaScriptCallFrameCustom.cpp:
* bindings/js/JSLocationCustom.cpp:
* bindings/js/JSMimeTypeArrayCustom.cpp:
* bindings/js/JSNSResolver.cpp:
* bindings/js/JSNSResolver.h:
(WebCore::JSNSResolver::create):
* bindings/js/JSNamedNodeMapCustom.cpp:
* bindings/js/JSNamedNodesCollection.cpp:
(WebCore::JSNamedNodesCollection::JSNamedNodesCollection):
* bindings/js/JSNamedNodesCollection.h:
(WebCore::JSNamedNodesCollection::classInfo):
* bindings/js/JSNavigatorCustom.cpp:
* bindings/js/JSNodeCustom.cpp:
* bindings/js/JSNodeFilterCondition.cpp:
(WebCore::JSNodeFilterCondition::acceptNode):
* bindings/js/JSNodeFilterCondition.h:
(WebCore::JSNodeFilterCondition::create):
* bindings/js/JSNodeFilterCustom.cpp:
* bindings/js/JSNodeIteratorCustom.cpp:
* bindings/js/JSNodeListCustom.cpp:
* bindings/js/JSPluginArrayCustom.cpp:
* bindings/js/JSPluginCustom.cpp:
* bindings/js/JSPluginElementFunctions.cpp:
(WebCore::getRuntimeObject):
* bindings/js/JSPluginElementFunctions.h:
* bindings/js/JSQuarantinedObjectWrapper.cpp:
(WebCore::JSQuarantinedObjectWrapper::construct):
(WebCore::JSQuarantinedObjectWrapper::call):
* bindings/js/JSQuarantinedObjectWrapper.h:
(WebCore::JSQuarantinedObjectWrapper::unwrappedObject):
(WebCore::JSQuarantinedObjectWrapper::unwrappedGlobalObject):
(WebCore::JSQuarantinedObjectWrapper::className):
* bindings/js/JSRGBColor.cpp:
* bindings/js/JSRGBColor.h:
(WebCore::JSRGBColor::classInfo):
* bindings/js/JSSQLResultSetRowListCustom.cpp:
* bindings/js/JSSQLTransactionCustom.cpp:
* bindings/js/JSSVGLazyEventListener.cpp:
* bindings/js/JSSVGLazyEventListener.h:
* bindings/js/JSSVGLengthCustom.cpp:
* bindings/js/JSSVGMatrixCustom.cpp:
(WebCore::JSSVGMatrix::inverse):
(WebCore::JSSVGMatrix::rotateFromVector):
* bindings/js/JSSVGPathSegCustom.cpp:
* bindings/js/JSSVGPathSegListCustom.cpp:
(WebCore::JSSVGPathSegList::initialize):
(WebCore::JSSVGPathSegList::getItem):
(WebCore::JSSVGPathSegList::insertItemBefore):
(WebCore::JSSVGPathSegList::replaceItem):
(WebCore::JSSVGPathSegList::removeItem):
(WebCore::JSSVGPathSegList::appendItem):
* bindings/js/JSSVGPointListCustom.cpp:
* bindings/js/JSSVGTransformListCustom.cpp:
* bindings/js/JSStorageCustom.cpp:
* bindings/js/JSStyleSheetCustom.cpp:
* bindings/js/JSStyleSheetListCustom.cpp:
* bindings/js/JSTextCustom.cpp:
* bindings/js/JSTreeWalkerCustom.cpp:
* bindings/js/JSXMLHttpRequestConstructor.cpp:
* bindings/js/JSXMLHttpRequestConstructor.h:
(WebCore::JSXMLHttpRequestConstructor::classInfo):
* bindings/js/JSXMLHttpRequestCustom.cpp:
* bindings/js/JSXMLHttpRequestUploadCustom.cpp:
* bindings/js/JSXSLTProcessorConstructor.cpp:
* bindings/js/JSXSLTProcessorConstructor.h:
(WebCore::JSXSLTProcessorConstructor::classInfo):
* bindings/js/JSXSLTProcessorCustom.cpp:
* bindings/js/ScheduledAction.cpp:
* bindings/js/ScheduledAction.h:
* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::attachDebugger):
(WebCore::ScriptController::windowScriptNPObject):
* bindings/js/ScriptController.h:
* bindings/js/ScriptControllerGtk.cpp:
(WebCore::ScriptController::createScriptInstanceForWidget):
* bindings/js/ScriptControllerMac.mm:
(WebCore::ScriptController::createScriptInstanceForWidget):
(WebCore::ScriptController::windowScriptObject):
(WebCore::ScriptController::clearPlatformScriptObjects):
(WebCore::updateRenderingForBindings):
(WebCore::ScriptController::initJavaJSBindings):
* bindings/js/ScriptControllerQt.cpp:
(WebCore::ScriptController::createScriptInstanceForWidget):
* bindings/js/ScriptControllerWin.cpp:
(WebCore::ScriptController::createScriptInstanceForWidget):
* bindings/js/ScriptControllerWx.cpp:
(WebCore::ScriptController::createScriptInstanceForWidget):
* bindings/js/StringSourceProvider.h:
(WebCore::StringSourceProvider::getRange):
* bindings/objc/DOM.mm:
(-[DOMNode JSC::Bindings::]):
* bindings/objc/DOMInternal.h:
* bindings/objc/DOMInternal.mm:
(-[WebScriptObject _initializeScriptDOMNodeImp]):
* bindings/objc/DOMUtility.mm:
(JSC::createDOMWrapper):
(WebCore::createDOMWrapper):
* bindings/objc/WebScriptObject.mm:
(WebCore::createJSWrapper):
(-[WebScriptObject _initWithJSObject:JSC::originRootObject:JSC::Bindings::rootObject:JSC::Bindings::]):
* bindings/objc/WebScriptObjectPrivate.h:
* bindings/scripts/CodeGeneratorJS.pm:
* bridge/NP_jsobject.cpp:
* bridge/NP_jsobject.h:
* bridge/c/c_class.cpp:
* bridge/c/c_class.h:
* bridge/c/c_instance.cpp:
* bridge/c/c_instance.h:
* bridge/c/c_runtime.cpp:
* bridge/c/c_runtime.h:
* bridge/c/c_utility.cpp:
* bridge/c/c_utility.h:
* bridge/jni/jni_class.cpp:
* bridge/jni/jni_class.h:
* bridge/jni/jni_instance.cpp:
* bridge/jni/jni_instance.h:
* bridge/jni/jni_jsobject.h:
* bridge/jni/jni_jsobject.mm:
(JavaJSObject::call):
(JavaJSObject::convertJObjectToValue):
* bridge/jni/jni_objc.mm:
(JSC::Bindings::dispatchJNICall):
* bridge/jni/jni_runtime.cpp:
* bridge/jni/jni_runtime.h:
* bridge/jni/jni_utility.cpp:
* bridge/jni/jni_utility.h:
* bridge/npruntime.cpp:
(_NPN_GetStringIdentifier):
* bridge/objc/WebScriptObject.h:
* bridge/objc/objc_class.h:
* bridge/objc/objc_class.mm:
* bridge/objc/objc_instance.h:
* bridge/objc/objc_instance.mm:
* bridge/objc/objc_runtime.h:
* bridge/objc/objc_runtime.mm:
* bridge/objc/objc_utility.h:
* bridge/objc/objc_utility.mm:
* bridge/qt/qt_class.cpp:
* bridge/qt/qt_class.h:
* bridge/qt/qt_instance.cpp:
* bridge/qt/qt_instance.h:
* bridge/qt/qt_runtime.cpp:
(JSC::Bindings::convertQVariantToValue):
(JSC::Bindings::):
* bridge/qt/qt_runtime.h:
* bridge/runtime.cpp:
* bridge/runtime.h:
* bridge/runtime_array.cpp:
* bridge/runtime_array.h:
* bridge/runtime_method.cpp:
* bridge/runtime_method.h:
* bridge/runtime_object.cpp:
* bridge/runtime_object.h:
* bridge/runtime_root.cpp:
(JSC::Bindings::RootObject::invalidate):
(JSC::Bindings::RootObject::gcProtect):
(JSC::Bindings::RootObject::gcUnprotect):
* bridge/runtime_root.h:
* bridge/testbindings.cpp:
* bridge/testbindings.mm:
* bridge/testqtbindings.cpp:
* dom/Document.cpp:
(WebCore::Document::~Document):
* dom/NSResolver.h:
* dom/Node.cpp:
(WebCore::Node::setDocument):
(WebCore::ResolveNamespaceFunctor::ResolveNamespaceFunctor):
(WebCore::resolveNamespacesForSelector):
(WebCore::Node::querySelector):
(WebCore::Node::querySelectorAll):
* dom/Node.h:
* dom/NodeFilter.cpp:
* dom/NodeFilter.h:
* dom/NodeFilterCondition.cpp:
* dom/NodeFilterCondition.h:
* dom/NodeIterator.cpp:
* dom/NodeIterator.h:
* dom/Traversal.cpp:
* dom/Traversal.h:
* dom/TreeWalker.cpp:
* dom/TreeWalker.h:
* dom/make_names.pl:
* history/CachedPage.cpp:
* history/CachedPage.h:
* html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::getInstance):
* html/HTMLPlugInElement.h:
* loader/FrameLoader.cpp:
* loader/FrameLoader.h:
* loader/icon/IconDatabase.cpp:
(WebCore::iconDatabase):
* page/Console.cpp:
* page/Console.h:
* page/InspectorController.cpp:
(WebCore::XMLHttpRequestResource::XMLHttpRequestResource):
(WebCore::XMLHttpRequestResource::~XMLHttpRequestResource):
(WebCore::InspectorResource::setXMLHttpRequestProperties):
(WebCore::InspectorResource::sourceString):
(WebCore::getResourceDocumentNode):
(WebCore::search):
(WebCore::InspectorController::focusNode):
(WebCore::InspectorController::inspectedWindowScriptObjectCleared):
(WebCore::InspectorController::addDatabaseScriptResource):
(WebCore::InspectorController::resourceRetrievedByXMLHttpRequest):
* page/InspectorController.h:
(WebCore::InspectorController::profiles):
* page/JavaScriptCallFrame.cpp:
(WebCore::JavaScriptCallFrame::scopeChain):
* page/JavaScriptCallFrame.h:
(WebCore::JavaScriptCallFrame::create):
(WebCore::JavaScriptCallFrame::update):
* page/JavaScriptDebugListener.h:
* page/JavaScriptDebugServer.cpp:
(WebCore::dispatchDidParseSource):
* page/JavaScriptDebugServer.h:
* page/JavaScriptProfile.cpp:
* page/JavaScriptProfile.h:
* page/JavaScriptProfileNode.cpp:
(WebCore::getTotalTime):
(WebCore::getSelfTime):
(WebCore::getTotalPercent):
(WebCore::getSelfPercent):
(WebCore::getNumberOfCalls):
(WebCore::getChildren):
(WebCore::getVisible):
* page/JavaScriptProfileNode.h:
* page/Page.cpp:
(WebCore::Page::setDebuggerForAllPages):
(WebCore::Page::setDebugger):
* page/Page.h:
(WebCore::Page::debugger):
* page/mac/FrameMac.mm:
* platform/KURL.h:
(WebCore::KURL::operator JSC::UString):
* platform/text/AtomicString.cpp:
(WebCore::AtomicString::add):
(WebCore::AtomicString::find):
* platform/text/AtomicString.h:
(WebCore::AtomicString::AtomicString):
* platform/text/PlatformString.h:
* platform/text/String.cpp:
(WebCore::charactersToDouble):
* platform/win/BString.cpp:
* platform/win/BString.h:
* plugins/MimeTypeArray.h:
* plugins/Plugin.h:
* plugins/PluginArray.h:
* plugins/PluginView.cpp:
(WebCore::PluginView::start):
(WebCore::PluginView::performRequest):
(WebCore::PluginView::bindingInstance):
* plugins/PluginView.h:
* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::paint):
(WebCore::PluginView::handleKeyboardEvent):
(WebCore::PluginView::handleMouseEvent):
(WebCore::PluginView::setNPWindowRect):
(WebCore::PluginView::stop):
(WebCore::PluginView::init):
* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::setNPWindowRect):
(WebCore::PluginView::stop):
(WebCore::PluginView::init):
* plugins/win/PluginViewWin.cpp:
(WebCore::PluginView::dispatchNPEvent):
(WebCore::PluginView::handleKeyboardEvent):
(WebCore::PluginView::handleMouseEvent):
(WebCore::PluginView::setNPWindowRect):
(WebCore::PluginView::stop):
* storage/Database.cpp:
(WebCore::Database::Database):
* xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::responseText):
(WebCore::XMLHttpRequest::loadRequestAsynchronously):
(WebCore::XMLHttpRequest::clearResponse):
(WebCore::XMLHttpRequest::dropProtection):
(WebCore::XMLHttpRequest::didFinishLoading):
(WebCore::XMLHttpRequest::didReceiveData):
* xml/XMLHttpRequest.h:
WebKit/gtk:
* webkit/webkitprivate.cpp:
(webkit_init):
WebKit/mac:
* Misc/WebCoreStatistics.mm:
* Plugins/WebBaseNetscapePluginStream.mm:
(-[WebBaseNetscapePluginStream wantsAllStreams]):
* Plugins/WebBaseNetscapePluginView.mm:
(-[WebBaseNetscapePluginView sendEvent:isDrawRect:]):
(-[WebBaseNetscapePluginView setWindowIfNecessary]):
(-[WebBaseNetscapePluginView start]):
(-[WebBaseNetscapePluginView createPluginScriptableObject]):
(-[WebBaseNetscapePluginView evaluateJavaScriptPluginRequest:]):
(-[WebBaseNetscapePluginView webFrame:didFinishLoadWithReason:]):
(-[WebBaseNetscapePluginView loadPluginRequest:]):
(-[WebBaseNetscapePluginView _printedPluginBitmap]):
* Plugins/WebPluginController.mm:
(+[WebPluginController plugInViewWithArguments:fromPluginPackage:]):
(-[WebPluginController startAllPlugins]):
(-[WebPluginController stopAllPlugins]):
(-[WebPluginController addPlugin:]):
(-[WebPluginController destroyPlugin:]):
(-[WebPluginController destroyAllPlugins]):
* WebView/WebFrame.mm:
* WebView/WebScriptDebugDelegate.mm:
* WebView/WebScriptDebugger.h:
* WebView/WebScriptDebugger.mm:
* WebView/WebView.mm:
(-[WebViewPrivate init]):
WebKit/qt:
* Api/qwebframe.cpp:
(QWebFrame::addToJavaScriptWindowObject):
(QWebFrame::evaluateJavaScript):
WebKit/win:
* WebCoreStatistics.cpp:
* WebJavaScriptCollector.cpp:
* WebScriptCallFrame.cpp:
(WebScriptCallFrame::jsValueToString):
* WebScriptCallFrame.h:
(WebScriptCallFrame::state):
* WebView.cpp:
(WebView::WebView):
(WebView::stringByEvaluatingJavaScriptFromString):
WebKit/wx:
* WebFrame.cpp:
(wxWebFrame::RunScript):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36263
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
#include "ustring.h"
#include "ExecState.h"
-namespace KJS {
+namespace JSC {
class ExecState;
class JSValue;
class JSObject;
/* Opaque typing convenience methods */
-inline KJS::ExecState* toJS(JSContextRef c)
+inline JSC::ExecState* toJS(JSContextRef c)
{
- return reinterpret_cast<KJS::ExecState*>(const_cast<OpaqueJSContext*>(c));
+ return reinterpret_cast<JSC::ExecState*>(const_cast<OpaqueJSContext*>(c));
}
-inline KJS::ExecState* toJS(JSGlobalContextRef c)
+inline JSC::ExecState* toJS(JSGlobalContextRef c)
{
- return reinterpret_cast<KJS::ExecState*>(c);
+ return reinterpret_cast<JSC::ExecState*>(c);
}
-inline KJS::JSValue* toJS(JSValueRef v)
+inline JSC::JSValue* toJS(JSValueRef v)
{
- return reinterpret_cast<KJS::JSValue*>(const_cast<OpaqueJSValue*>(v));
+ return reinterpret_cast<JSC::JSValue*>(const_cast<OpaqueJSValue*>(v));
}
-inline KJS::JSObject* toJS(JSObjectRef o)
+inline JSC::JSObject* toJS(JSObjectRef o)
{
- return reinterpret_cast<KJS::JSObject*>(o);
+ return reinterpret_cast<JSC::JSObject*>(o);
}
-inline KJS::PropertyNameArray* toJS(JSPropertyNameAccumulatorRef a)
+inline JSC::PropertyNameArray* toJS(JSPropertyNameAccumulatorRef a)
{
- return reinterpret_cast<KJS::PropertyNameArray*>(a);
+ return reinterpret_cast<JSC::PropertyNameArray*>(a);
}
-inline KJS::JSGlobalData* toJS(JSContextGroupRef g)
+inline JSC::JSGlobalData* toJS(JSContextGroupRef g)
{
- return reinterpret_cast<KJS::JSGlobalData*>(const_cast<OpaqueJSContextGroup*>(g));
+ return reinterpret_cast<JSC::JSGlobalData*>(const_cast<OpaqueJSContextGroup*>(g));
}
-inline JSValueRef toRef(KJS::JSValue* v)
+inline JSValueRef toRef(JSC::JSValue* v)
{
return reinterpret_cast<JSValueRef>(v);
}
-inline JSValueRef* toRef(KJS::JSValue** v)
+inline JSValueRef* toRef(JSC::JSValue** v)
{
- return reinterpret_cast<JSValueRef*>(const_cast<const KJS::JSValue**>(v));
+ return reinterpret_cast<JSValueRef*>(const_cast<const JSC::JSValue**>(v));
}
-inline JSObjectRef toRef(KJS::JSObject* o)
+inline JSObjectRef toRef(JSC::JSObject* o)
{
return reinterpret_cast<JSObjectRef>(o);
}
-inline JSObjectRef toRef(const KJS::JSObject* o)
+inline JSObjectRef toRef(const JSC::JSObject* o)
{
- return reinterpret_cast<JSObjectRef>(const_cast<KJS::JSObject*>(o));
+ return reinterpret_cast<JSObjectRef>(const_cast<JSC::JSObject*>(o));
}
-inline JSContextRef toRef(KJS::ExecState* e)
+inline JSContextRef toRef(JSC::ExecState* e)
{
return reinterpret_cast<JSContextRef>(e);
}
-inline JSGlobalContextRef toGlobalRef(KJS::ExecState* e)
+inline JSGlobalContextRef toGlobalRef(JSC::ExecState* e)
{
return reinterpret_cast<JSGlobalContextRef>(e);
}
-inline JSPropertyNameAccumulatorRef toRef(KJS::PropertyNameArray* l)
+inline JSPropertyNameAccumulatorRef toRef(JSC::PropertyNameArray* l)
{
return reinterpret_cast<JSPropertyNameAccumulatorRef>(l);
}
-inline JSContextGroupRef toRef(KJS::JSGlobalData* g)
+inline JSContextGroupRef toRef(JSC::JSGlobalData* g)
{
return reinterpret_cast<JSContextGroupRef>(g);
}
#include <kjs/JSLock.h>
#include <kjs/JSObject.h>
-using namespace KJS;
+using namespace JSC;
JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception)
{
#include <kjs/ObjectPrototype.h>
#include <wtf/Vector.h>
-namespace KJS {
+namespace JSC {
const ClassInfo JSCallbackConstructor::info = { "CallbackConstructor", 0, 0, 0 };
return ConstructTypeHost;
}
-} // namespace KJS
+} // namespace JSC
#include "JSObjectRef.h"
#include <kjs/JSObject.h>
-namespace KJS {
+namespace JSC {
class JSCallbackConstructor : public JSObject {
public:
JSObjectCallAsConstructorCallback m_callback;
};
-} // namespace KJS
+} // namespace JSC
#endif // JSCallbackConstructor_h
#include <kjs/JSLock.h>
#include <wtf/Vector.h>
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(JSCallbackFunction);
return CallTypeHost;
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
#include "JSObjectRef.h"
-namespace KJS {
+namespace JSC {
class JSCallbackFunction : public InternalFunction {
public:
JSObjectCallAsFunctionCallback m_callback;
};
-} // namespace KJS
+} // namespace JSC
#endif // JSCallbackFunction_h
#include "collector.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(JSCallbackObject<JSObject>);
ASSERT_CLASS_FITS_IN_CELL(JSCallbackObject<JSGlobalObject>);
template <> const ClassInfo JSCallbackObject<JSObject>::info = { "CallbackObject", 0, 0, 0 };
template <> const ClassInfo JSCallbackObject<JSGlobalObject>::info = { "CallbackGlobalObject", 0, 0, 0 };
-} // namespace KJS
+} // namespace JSC
#include "JSValueRef.h"
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
template <class Base>
class JSCallbackObject : public Base {
OwnPtr<JSCallbackObjectData> m_callbackObjectData;
};
-} // namespace KJS
+} // namespace JSC
// include the actual template class implementation
#include "JSCallbackObjectFunctions.h"
#include "PropertyNameArray.h"
#include <wtf/Vector.h>
-namespace KJS {
+namespace JSC {
template <class Base>
JSCallbackObject<Base>::JSCallbackObject(ExecState* exec, JSClassRef jsClass, JSObject* prototype, void* data)
return throwError(exec, ReferenceError, "hasProperty callback returned true for a property that doesn't exist.");
}
-} // namespace KJS
+} // namespace JSC
#include <kjs/ObjectPrototype.h>
#include <kjs/identifier.h>
-using namespace KJS;
+using namespace JSC;
const JSClassDefinition kJSClassDefinitionEmpty = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
return UString(m_className.data(), m_className.size());
}
-OpaqueJSClassStaticValuesTable* OpaqueJSClass::staticValues(KJS::ExecState* exec)
+OpaqueJSClassStaticValuesTable* OpaqueJSClass::staticValues(JSC::ExecState* exec)
{
OpaqueJSClassContextData& jsClassData = contextData(exec);
return jsClassData.staticValues;
}
-OpaqueJSClassStaticFunctionsTable* OpaqueJSClass::staticFunctions(KJS::ExecState* exec)
+OpaqueJSClassStaticFunctionsTable* OpaqueJSClass::staticFunctions(JSC::ExecState* exec)
{
OpaqueJSClassContextData& jsClassData = contextData(exec);
return jsClassData.staticFunctions;
JSPropertyAttributes attributes;
};
-typedef HashMap<RefPtr<KJS::UString::Rep>, StaticValueEntry*> OpaqueJSClassStaticValuesTable;
-typedef HashMap<RefPtr<KJS::UString::Rep>, StaticFunctionEntry*> OpaqueJSClassStaticFunctionsTable;
+typedef HashMap<RefPtr<JSC::UString::Rep>, StaticValueEntry*> OpaqueJSClassStaticValuesTable;
+typedef HashMap<RefPtr<JSC::UString::Rep>, StaticFunctionEntry*> OpaqueJSClassStaticFunctionsTable;
class OpaqueJSClass;
OpaqueJSClassStaticValuesTable* staticValues;
OpaqueJSClassStaticFunctionsTable* staticFunctions;
- KJS::JSObject* cachedPrototype;
+ JSC::JSObject* cachedPrototype;
};
struct OpaqueJSClass : public ThreadSafeShared<OpaqueJSClass> {
static PassRefPtr<OpaqueJSClass> createNoAutomaticPrototype(const JSClassDefinition*);
~OpaqueJSClass();
- KJS::UString className();
- OpaqueJSClassStaticValuesTable* staticValues(KJS::ExecState*);
- OpaqueJSClassStaticFunctionsTable* staticFunctions(KJS::ExecState*);
- KJS::JSObject* prototype(KJS::ExecState*);
+ JSC::UString className();
+ OpaqueJSClassStaticValuesTable* staticValues(JSC::ExecState*);
+ OpaqueJSClassStaticFunctionsTable* staticFunctions(JSC::ExecState*);
+ JSC::JSObject* prototype(JSC::ExecState*);
OpaqueJSClass* parentClass;
OpaqueJSClass* prototypeClass;
OpaqueJSClass(const OpaqueJSClass&);
OpaqueJSClass(const JSClassDefinition*, OpaqueJSClass* protoClass);
- OpaqueJSClassContextData& contextData(KJS::ExecState*);
+ OpaqueJSClassContextData& contextData(JSC::ExecState*);
// UStrings in these data members should not be put into any IdentifierTable.
- KJS::UString m_className;
+ JSC::UString m_className;
OpaqueJSClassStaticValuesTable* m_staticValues;
OpaqueJSClassStaticFunctionsTable* m_staticFunctions;
};
#include "JSObject.h"
#include <wtf/Platform.h>
-using namespace KJS;
+using namespace JSC;
JSContextGroupRef JSContextGroupCreate()
{
#include "identifier.h"
#include <wtf/Platform.h>
-using namespace KJS;
+using namespace JSC;
JSClassRef JSClassCreate(const JSClassDefinition* definition)
{
#include "OpaqueJSString.h"
#include <JavaScriptCore/Profiler.h>
-using namespace KJS;
+using namespace JSC;
void JSStartProfiling(JSContextRef ctx, JSStringRef title)
{
#include "OpaqueJSString.h"
#include <wtf/unicode/UTF8.h>
-using namespace KJS;
+using namespace JSC;
using namespace WTF::Unicode;
JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars)
JSType JSValueGetType(JSContextRef, JSValueRef value)
{
- KJS::JSValue* jsValue = toJS(value);
+ JSC::JSValue* jsValue = toJS(value);
if (jsValue->isUndefined())
return kJSTypeUndefined;
if (jsValue->isNull())
return kJSTypeObject;
}
-using namespace KJS; // placed here to avoid conflict between KJS::JSType and JSType, above.
+using namespace JSC; // placed here to avoid conflict between JSC::JSType and JSType, above.
bool JSValueIsUndefined(JSContextRef, JSValueRef value)
{
#include <kjs/ExecState.h>
#include <kjs/identifier.h>
-using namespace KJS;
+using namespace JSC;
PassRefPtr<OpaqueJSString> OpaqueJSString::create(const UString& ustring)
{
#include <kjs/ustring.h>
-namespace KJS {
+namespace JSC {
class ExecState;
class Identifier;
class JSGlobalData;
return adoptRef(new OpaqueJSString(characters, length));
}
- static PassRefPtr<OpaqueJSString> create(const KJS::UString&);
+ static PassRefPtr<OpaqueJSString> create(const JSC::UString&);
UChar* characters() { return this ? m_characters : 0; }
unsigned length() { return this ? m_length : 0; }
- KJS::UString ustring() const;
+ JSC::UString ustring() const;
- KJS::Identifier identifier(KJS::ExecState*) const;
- KJS::Identifier identifier(KJS::JSGlobalData*) const;
+ JSC::Identifier identifier(JSC::ExecState*) const;
+ JSC::Identifier identifier(JSC::JSGlobalData*) const;
private:
friend class WTF::ThreadSafeShared<OpaqueJSString>;
+2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
+
+ Reviewed by Maciej Stachowiak.
+
+ Bug 20704: Replace the KJS namespace
+ <https://bugs.webkit.org/show_bug.cgi?id=20704>
+
+ Rename the KJS namespace to JSC. There are still some uses of KJS in
+ preprocessor macros and comments, but these will also be changed some
+ time in the near future.
+
+ * API/APICast.h:
+ (toJS):
+ (toRef):
+ (toGlobalRef):
+ * API/JSBase.cpp:
+ * API/JSCallbackConstructor.cpp:
+ * API/JSCallbackConstructor.h:
+ * API/JSCallbackFunction.cpp:
+ * API/JSCallbackFunction.h:
+ * API/JSCallbackObject.cpp:
+ * API/JSCallbackObject.h:
+ * API/JSCallbackObjectFunctions.h:
+ * API/JSClassRef.cpp:
+ (OpaqueJSClass::staticValues):
+ (OpaqueJSClass::staticFunctions):
+ * API/JSClassRef.h:
+ * API/JSContextRef.cpp:
+ * API/JSObjectRef.cpp:
+ * API/JSProfilerPrivate.cpp:
+ * API/JSStringRef.cpp:
+ * API/JSValueRef.cpp:
+ (JSValueGetType):
+ * API/OpaqueJSString.cpp:
+ * API/OpaqueJSString.h:
+ * JavaScriptCore.Debug.exp:
+ * JavaScriptCore.base.exp:
+ * VM/CTI.cpp:
+ (JSC::):
+ * VM/CTI.h:
+ * VM/CodeBlock.cpp:
+ * VM/CodeBlock.h:
+ * VM/CodeGenerator.cpp:
+ * VM/CodeGenerator.h:
+ * VM/ExceptionHelpers.cpp:
+ * VM/ExceptionHelpers.h:
+ * VM/Instruction.h:
+ * VM/JSPropertyNameIterator.cpp:
+ * VM/JSPropertyNameIterator.h:
+ * VM/LabelID.h:
+ * VM/Machine.cpp:
+ * VM/Machine.h:
+ * VM/Opcode.cpp:
+ * VM/Opcode.h:
+ * VM/Register.h:
+ (WTF::):
+ * VM/RegisterFile.cpp:
+ * VM/RegisterFile.h:
+ * VM/RegisterID.h:
+ (WTF::):
+ * VM/SamplingTool.cpp:
+ * VM/SamplingTool.h:
+ * VM/SegmentedVector.h:
+ * kjs/ArgList.cpp:
+ * kjs/ArgList.h:
+ * kjs/Arguments.cpp:
+ * kjs/Arguments.h:
+ * kjs/ArrayConstructor.cpp:
+ * kjs/ArrayConstructor.h:
+ * kjs/ArrayPrototype.cpp:
+ * kjs/ArrayPrototype.h:
+ * kjs/BatchedTransitionOptimizer.h:
+ * kjs/BooleanConstructor.cpp:
+ * kjs/BooleanConstructor.h:
+ * kjs/BooleanObject.cpp:
+ * kjs/BooleanObject.h:
+ * kjs/BooleanPrototype.cpp:
+ * kjs/BooleanPrototype.h:
+ * kjs/CallData.cpp:
+ * kjs/CallData.h:
+ * kjs/ClassInfo.h:
+ * kjs/CommonIdentifiers.cpp:
+ * kjs/CommonIdentifiers.h:
+ * kjs/ConstructData.cpp:
+ * kjs/ConstructData.h:
+ * kjs/DateConstructor.cpp:
+ * kjs/DateConstructor.h:
+ * kjs/DateInstance.cpp:
+ (JSC::DateInstance::msToGregorianDateTime):
+ * kjs/DateInstance.h:
+ * kjs/DateMath.cpp:
+ * kjs/DateMath.h:
+ * kjs/DatePrototype.cpp:
+ * kjs/DatePrototype.h:
+ * kjs/DebuggerCallFrame.cpp:
+ * kjs/DebuggerCallFrame.h:
+ * kjs/Error.cpp:
+ * kjs/Error.h:
+ * kjs/ErrorConstructor.cpp:
+ * kjs/ErrorConstructor.h:
+ * kjs/ErrorInstance.cpp:
+ * kjs/ErrorInstance.h:
+ * kjs/ErrorPrototype.cpp:
+ * kjs/ErrorPrototype.h:
+ * kjs/ExecState.cpp:
+ * kjs/ExecState.h:
+ * kjs/FunctionConstructor.cpp:
+ * kjs/FunctionConstructor.h:
+ * kjs/FunctionPrototype.cpp:
+ * kjs/FunctionPrototype.h:
+ * kjs/GetterSetter.cpp:
+ * kjs/GetterSetter.h:
+ * kjs/GlobalEvalFunction.cpp:
+ * kjs/GlobalEvalFunction.h:
+ * kjs/IndexToNameMap.cpp:
+ * kjs/IndexToNameMap.h:
+ * kjs/InitializeThreading.cpp:
+ * kjs/InitializeThreading.h:
+ * kjs/InternalFunction.cpp:
+ * kjs/InternalFunction.h:
+ (JSC::InternalFunction::InternalFunction):
+ * kjs/JSActivation.cpp:
+ * kjs/JSActivation.h:
+ * kjs/JSArray.cpp:
+ * kjs/JSArray.h:
+ * kjs/JSCell.cpp:
+ * kjs/JSCell.h:
+ * kjs/JSFunction.cpp:
+ * kjs/JSFunction.h:
+ (JSC::JSFunction::JSFunction):
+ * kjs/JSGlobalData.cpp:
+ (JSC::JSGlobalData::JSGlobalData):
+ * kjs/JSGlobalData.h:
+ * kjs/JSGlobalObject.cpp:
+ * kjs/JSGlobalObject.h:
+ * kjs/JSGlobalObjectFunctions.cpp:
+ * kjs/JSGlobalObjectFunctions.h:
+ * kjs/JSImmediate.cpp:
+ * kjs/JSImmediate.h:
+ * kjs/JSLock.cpp:
+ * kjs/JSLock.h:
+ * kjs/JSNotAnObject.cpp:
+ * kjs/JSNotAnObject.h:
+ * kjs/JSNumberCell.cpp:
+ * kjs/JSNumberCell.h:
+ * kjs/JSObject.cpp:
+ * kjs/JSObject.h:
+ * kjs/JSStaticScopeObject.cpp:
+ * kjs/JSStaticScopeObject.h:
+ * kjs/JSString.cpp:
+ * kjs/JSString.h:
+ * kjs/JSType.h:
+ * kjs/JSValue.cpp:
+ * kjs/JSValue.h:
+ * kjs/JSVariableObject.cpp:
+ * kjs/JSVariableObject.h:
+ * kjs/JSWrapperObject.cpp:
+ * kjs/JSWrapperObject.h:
+ * kjs/LabelStack.cpp:
+ * kjs/LabelStack.h:
+ * kjs/MathObject.cpp:
+ * kjs/MathObject.h:
+ * kjs/NativeErrorConstructor.cpp:
+ * kjs/NativeErrorConstructor.h:
+ * kjs/NativeErrorPrototype.cpp:
+ * kjs/NativeErrorPrototype.h:
+ * kjs/NodeInfo.h:
+ * kjs/NumberConstructor.cpp:
+ * kjs/NumberConstructor.h:
+ * kjs/NumberObject.cpp:
+ * kjs/NumberObject.h:
+ * kjs/NumberPrototype.cpp:
+ * kjs/NumberPrototype.h:
+ * kjs/ObjectConstructor.cpp:
+ * kjs/ObjectConstructor.h:
+ * kjs/ObjectPrototype.cpp:
+ * kjs/ObjectPrototype.h:
+ * kjs/Parser.cpp:
+ * kjs/Parser.h:
+ * kjs/PropertyMap.cpp:
+ (JSC::PropertyMapStatisticsExitLogger::~PropertyMapStatisticsExitLogger):
+ * kjs/PropertyMap.h:
+ * kjs/PropertyNameArray.cpp:
+ * kjs/PropertyNameArray.h:
+ * kjs/PropertySlot.cpp:
+ * kjs/PropertySlot.h:
+ * kjs/PrototypeFunction.cpp:
+ * kjs/PrototypeFunction.h:
+ * kjs/PutPropertySlot.h:
+ * kjs/RegExpConstructor.cpp:
+ * kjs/RegExpConstructor.h:
+ * kjs/RegExpObject.cpp:
+ * kjs/RegExpObject.h:
+ * kjs/RegExpPrototype.cpp:
+ * kjs/RegExpPrototype.h:
+ * kjs/ScopeChain.cpp:
+ * kjs/ScopeChain.h:
+ * kjs/ScopeChainMark.h:
+ * kjs/Shell.cpp:
+ (jscmain):
+ * kjs/SmallStrings.cpp:
+ * kjs/SmallStrings.h:
+ * kjs/SourceProvider.h:
+ * kjs/SourceRange.h:
+ * kjs/StringConstructor.cpp:
+ * kjs/StringConstructor.h:
+ * kjs/StringObject.cpp:
+ * kjs/StringObject.h:
+ * kjs/StringObjectThatMasqueradesAsUndefined.h:
+ * kjs/StringPrototype.cpp:
+ * kjs/StringPrototype.h:
+ * kjs/StructureID.cpp:
+ * kjs/StructureID.h:
+ * kjs/SymbolTable.h:
+ * kjs/collector.cpp:
+ * kjs/collector.h:
+ * kjs/completion.h:
+ * kjs/create_hash_table:
+ * kjs/debugger.cpp:
+ * kjs/debugger.h:
+ * kjs/dtoa.cpp:
+ * kjs/dtoa.h:
+ * kjs/grammar.y:
+ * kjs/identifier.cpp:
+ * kjs/identifier.h:
+ (JSC::Identifier::equal):
+ * kjs/interpreter.cpp:
+ * kjs/interpreter.h:
+ * kjs/lexer.cpp:
+ (JSC::Lexer::Lexer):
+ (JSC::Lexer::clear):
+ (JSC::Lexer::makeIdentifier):
+ * kjs/lexer.h:
+ * kjs/lookup.cpp:
+ * kjs/lookup.h:
+ * kjs/nodes.cpp:
+ * kjs/nodes.h:
+ * kjs/nodes2string.cpp:
+ * kjs/operations.cpp:
+ * kjs/operations.h:
+ * kjs/protect.h:
+ * kjs/regexp.cpp:
+ * kjs/regexp.h:
+ * kjs/ustring.cpp:
+ * kjs/ustring.h:
+ (JSC::operator!=):
+ (JSC::IdentifierRepHash::hash):
+ (WTF::):
+ * masm/MacroAssembler.h:
+ * masm/MacroAssemblerWin.cpp:
+ * masm/X86Assembler.h:
+ * pcre/pcre_exec.cpp:
+ * profiler/CallIdentifier.h:
+ (WTF::):
+ * profiler/HeavyProfile.cpp:
+ * profiler/HeavyProfile.h:
+ * profiler/Profile.cpp:
+ * profiler/Profile.h:
+ * profiler/ProfileGenerator.cpp:
+ * profiler/ProfileGenerator.h:
+ * profiler/ProfileNode.cpp:
+ * profiler/ProfileNode.h:
+ * profiler/Profiler.cpp:
+ * profiler/Profiler.h:
+ * profiler/TreeProfile.cpp:
+ * profiler/TreeProfile.h:
+ * wrec/WREC.cpp:
+ * wrec/WREC.h:
+ * wtf/AVLTree.h:
+
2008-09-07 Maciej Stachowiak <mjs@apple.com>
Reviewed by Dan Bernstein.
-__ZN3KJS10Identifier24checkSameIdentifierTableEPNS_9ExecStateEPNS_7UString3RepE
-__ZN3KJS10Identifier24checkSameIdentifierTableEPNS_12JSGlobalDataEPNS_7UString3RepE
+__ZN3JSC10Identifier24checkSameIdentifierTableEPNS_9ExecStateEPNS_7UString3RepE
+__ZN3JSC10Identifier24checkSameIdentifierTableEPNS_12JSGlobalDataEPNS_7UString3RepE
__Z12jsRegExpFreeP8JSRegExp
__Z15jsRegExpCompilePKti24JSRegExpIgnoreCaseOption23JSRegExpMultilineOptionPjPPKc
__Z15jsRegExpExecutePK8JSRegExpPKtiiPii
-__ZN14OpaqueJSString6createERKN3KJS7UStringE
-__ZN3KJS10Identifier11addSlowCaseEPNS_12JSGlobalDataEPNS_7UString3RepE
-__ZN3KJS10Identifier11addSlowCaseEPNS_9ExecStateEPNS_7UString3RepE
-__ZN3KJS10Identifier3addEPNS_9ExecStateEPKc
-__ZN3KJS10Identifier5equalEPKNS_7UString3RepEPKc
-__ZN3KJS10throwErrorEPNS_9ExecStateENS_9ErrorTypeE
-__ZN3KJS10throwErrorEPNS_9ExecStateENS_9ErrorTypeEPKc
-__ZN3KJS10throwErrorEPNS_9ExecStateENS_9ErrorTypeERKNS_7UStringE
-__ZN3KJS11Interpreter11checkSyntaxEPNS_9ExecStateERKNS_7UStringEiS5_
-__ZN3KJS11Interpreter21shouldPrintExceptionsEv
-__ZN3KJS11Interpreter24setShouldPrintExceptionsEb
-__ZN3KJS11Interpreter8evaluateEPNS_9ExecStateERNS_10ScopeChainERKNS_7UStringEiN3WTF10PassRefPtrINS_14SourceProviderEEEPNS_7JSValueE
-__ZN3KJS11Interpreter8evaluateEPNS_9ExecStateERNS_10ScopeChainERKNS_7UStringEiS7_PNS_7JSValueE
-__ZN3KJS11JSImmediate8toObjectEPKNS_7JSValueEPNS_9ExecStateE
-__ZN3KJS11JSImmediate8toStringEPKNS_7JSValueE
-__ZN3KJS11JSImmediate9prototypeEPKNS_7JSValueEPNS_9ExecStateE
-__ZN3KJS11ProfileNode4sortEPFbRKN3WTF6RefPtrIS0_EES5_E
-__ZN3KJS11ProgramNode6createEPNS_12JSGlobalDataEPNS_14SourceElementsEPN3WTF6VectorISt4pairINS_10IdentifierEjELm16EEEPNS6_INS5_6RefPtrINS_12FuncDeclNodeEEELm16EEEPNS_14SourceProviderEbbi
-__ZN3KJS11PropertyMap11getLocationERKNS_10IdentifierE
-__ZN3KJS11PropertyMap11getLocationERKNS_10IdentifierERb
-__ZN3KJS11PropertyMap3putERKNS_10IdentifierEPNS_7JSValueEjbPNS_8JSObjectERNS_15PutPropertySlotE
-__ZN3KJS11PropertyMapD1Ev
-__ZN3KJS11StructureID21addPropertyTransitionEPS0_RKNS_10IdentifierE
-__ZN3KJS11StructureID24fromDictionaryTransitionEPS0_
-__ZN3KJS11StructureID25changePrototypeTransitionEPS0_PNS_7JSValueE
-__ZN3KJS11StructureIDD1Ev
-__ZN3KJS12DateInstance4infoE
-__ZN3KJS12JSGlobalData6createEv
-__ZN3KJS12JSGlobalDataD1Ev
-__ZN3KJS12SamplingTool4dumpEPNS_9ExecStateE
-__ZN3KJS12SamplingTool4stopEv
-__ZN3KJS12SamplingTool5startEj
-__ZN3KJS12SmallStrings17createEmptyStringEPNS_9ExecStateE
-__ZN3KJS12StringObject14deletePropertyEPNS_9ExecStateERKNS_10IdentifierE
-__ZN3KJS12StringObject14toThisJSStringEPNS_9ExecStateE
-__ZN3KJS12StringObject16getPropertyNamesEPNS_9ExecStateERNS_17PropertyNameArrayE
-__ZN3KJS12StringObject18getOwnPropertySlotEPNS_9ExecStateERKNS_10IdentifierERNS_12PropertySlotE
-__ZN3KJS12StringObject18getOwnPropertySlotEPNS_9ExecStateEjRNS_12PropertySlotE
-__ZN3KJS12StringObject3putEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueERNS_15PutPropertySlotE
-__ZN3KJS12StringObject4infoE
-__ZN3KJS12StringObjectC2EPNS_9ExecStateEPNS_8JSObjectERKNS_7UStringE
-__ZN3KJS13CodeGenerator21setDumpsGeneratedCodeEb
-__ZN3KJS13StatementNode6setLocEii
-__ZN3KJS13jsOwnedStringEPNS_9ExecStateERKNS_7UStringE
-__ZN3KJS14JSGlobalObject10globalExecEv
-__ZN3KJS14JSGlobalObject12defineGetterEPNS_9ExecStateERKNS_10IdentifierEPNS_8JSObjectE
-__ZN3KJS14JSGlobalObject12defineSetterEPNS_9ExecStateERKNS_10IdentifierEPNS_8JSObjectE
-__ZN3KJS14JSGlobalObject14setTimeoutTimeEj
-__ZN3KJS14JSGlobalObject16stopTimeoutCheckEv
-__ZN3KJS14JSGlobalObject17putWithAttributesEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueEj
-__ZN3KJS14JSGlobalObject17startTimeoutCheckEv
-__ZN3KJS14JSGlobalObject3putEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueERNS_15PutPropertySlotE
-__ZN3KJS14JSGlobalObject4initEPNS_8JSObjectE
-__ZN3KJS14JSGlobalObject4markEv
-__ZN3KJS14JSGlobalObjectD2Ev
-__ZN3KJS14JSGlobalObjectnwEmPNS_12JSGlobalDataE
-__ZN3KJS14constructArrayEPNS_9ExecStateERKNS_7ArgListE
-__ZN3KJS15JSWrapperObject4markEv
-__ZN3KJS16InternalFunction4infoE
-__ZN3KJS16InternalFunctionC2EPNS_9ExecStateEPNS_17FunctionPrototypeERKNS_10IdentifierE
-__ZN3KJS16JSVariableObject14deletePropertyEPNS_9ExecStateERKNS_10IdentifierE
-__ZN3KJS16JSVariableObject16getPropertyNamesEPNS_9ExecStateERNS_17PropertyNameArrayE
-__ZN3KJS16JSVariableObject16setRegisterArrayEPNS_8RegisterEm
-__ZN3KJS16ParserRefCounted3refEv
-__ZN3KJS16ParserRefCounted5derefEv
-__ZN3KJS17PropertyNameArray3addEPNS_7UString3RepE
-__ZN3KJS17PrototypeFunctionC1EPNS_9ExecStateEPNS_17FunctionPrototypeEiRKNS_10IdentifierEPFPNS_7JSValueES2_PNS_8JSObjectES9_RKNS_7ArgListEE
-__ZN3KJS17PrototypeFunctionC1EPNS_9ExecStateEiRKNS_10IdentifierEPFPNS_7JSValueES2_PNS_8JSObjectES7_RKNS_7ArgListEE
-__ZN3KJS17constructFunctionEPNS_9ExecStateERKNS_7ArgListERKNS_10IdentifierERKNS_7UStringEi
-__ZN3KJS19constructEmptyArrayEPNS_9ExecStateE
-__ZN3KJS19initializeThreadingEv
-__ZN3KJS20staticFunctionGetterEPNS_9ExecStateERKNS_10IdentifierERKNS_12PropertySlotE
-__ZN3KJS23objectProtoFuncToStringEPNS_9ExecStateEPNS_8JSObjectEPNS_7JSValueERKNS_7ArgListE
-__ZN3KJS23setUpStaticFunctionSlotEPNS_9ExecStateEPKNS_9HashEntryEPNS_8JSObjectERKNS_10IdentifierERNS_12PropertySlotE
-__ZN3KJS4Heap14allocateNumberEm
-__ZN3KJS4Heap15recordExtraCostEm
-__ZN3KJS4Heap17globalObjectCountEv
-__ZN3KJS4Heap20protectedObjectCountEv
-__ZN3KJS4Heap24setGCProtectNeedsLockingEv
-__ZN3KJS4Heap25protectedObjectTypeCountsEv
-__ZN3KJS4Heap26protectedGlobalObjectCountEv
-__ZN3KJS4Heap4heapEPKNS_7JSValueE
-__ZN3KJS4Heap4sizeEv
-__ZN3KJS4Heap7collectEv
-__ZN3KJS4Heap7protectEPNS_7JSValueE
-__ZN3KJS4Heap8allocateEm
-__ZN3KJS4Heap9unprotectEPNS_7JSValueE
-__ZN3KJS4callEPNS_9ExecStateEPNS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE
-__ZN3KJS5equalEPKNS_7UString3RepES3_
-__ZN3KJS6JSCell11getCallDataERNS_8CallDataE
-__ZN3KJS6JSCell11getJSNumberEv
-__ZN3KJS6JSCell14deletePropertyEPNS_9ExecStateERKNS_10IdentifierE
-__ZN3KJS6JSCell14deletePropertyEPNS_9ExecStateEj
-__ZN3KJS6JSCell14toThisJSStringEPNS_9ExecStateE
-__ZN3KJS6JSCell16getConstructDataERNS_13ConstructDataE
-__ZN3KJS6JSCell18getOwnPropertySlotEPNS_9ExecStateERKNS_10IdentifierERNS_12PropertySlotE
-__ZN3KJS6JSCell18getOwnPropertySlotEPNS_9ExecStateEjRNS_12PropertySlotE
-__ZN3KJS6JSCell3putEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueERNS_15PutPropertySlotE
-__ZN3KJS6JSCell3putEPNS_9ExecStateEjPNS_7JSValueE
-__ZN3KJS6JSCell9getObjectEv
-__ZN3KJS6JSCellnwEmPNS_9ExecStateE
-__ZN3KJS6JSLock12DropAllLocksC1EPNS_9ExecStateE
-__ZN3KJS6JSLock12DropAllLocksC1Eb
-__ZN3KJS6JSLock12DropAllLocksD1Ev
-__ZN3KJS6JSLock4lockEb
-__ZN3KJS6JSLock6unlockEb
-__ZN3KJS6JSLock9lockCountEv
-__ZN3KJS6JSLockC1EPNS_9ExecStateE
-__ZN3KJS6Parser5parseEPNS_9ExecStateERKNS_7UStringEiN3WTF10PassRefPtrINS_14SourceProviderEEEPiSA_PS3_
-__ZN3KJS6strtodEPKcPPc
-__ZN3KJS7ArgList10slowAppendEPNS_7JSValueE
-__ZN3KJS7CStringD1Ev
-__ZN3KJS7CStringaSERKS0_
-__ZN3KJS7JSArray4infoE
-__ZN3KJS7Profile10restoreAllEv
-__ZN3KJS7Profile5focusEPKNS_11ProfileNodeE
-__ZN3KJS7Profile7excludeEPKNS_11ProfileNodeE
-__ZN3KJS7Profile7forEachEMNS_11ProfileNodeEFvvE
-__ZN3KJS7UString3Rep11computeHashEPKti
-__ZN3KJS7UString3Rep4nullE
-__ZN3KJS7UString3Rep7destroyEv
-__ZN3KJS7UString4fromEj
-__ZN3KJS7UString6appendEPKc
-__ZN3KJS7UString6appendERKS0_
-__ZN3KJS7UStringC1EPKc
-__ZN3KJS7UStringC1EPKti
-__ZN3KJS7UStringaSEPKc
-__ZN3KJS8Debugger6attachEPNS_14JSGlobalObjectE
-__ZN3KJS8Debugger6detachEPNS_14JSGlobalObjectE
-__ZN3KJS8DebuggerC2Ev
-__ZN3KJS8DebuggerD2Ev
-__ZN3KJS8JSObject11hasInstanceEPNS_9ExecStateEPNS_7JSValueE
-__ZN3KJS8JSObject12defineGetterEPNS_9ExecStateERKNS_10IdentifierEPS0_
-__ZN3KJS8JSObject12defineSetterEPNS_9ExecStateERKNS_10IdentifierEPS0_
-__ZN3KJS8JSObject12lookupGetterEPNS_9ExecStateERKNS_10IdentifierE
-__ZN3KJS8JSObject12lookupSetterEPNS_9ExecStateERKNS_10IdentifierE
-__ZN3KJS8JSObject14deletePropertyEPNS_9ExecStateERKNS_10IdentifierE
-__ZN3KJS8JSObject14deletePropertyEPNS_9ExecStateEj
-__ZN3KJS8JSObject16getPropertyNamesEPNS_9ExecStateERNS_17PropertyNameArrayE
-__ZN3KJS8JSObject17createInheritorIDEv
-__ZN3KJS8JSObject17putDirectFunctionEPNS_9ExecStateEPNS_16InternalFunctionEj
-__ZN3KJS8JSObject17putWithAttributesEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueEj
-__ZN3KJS8JSObject17putWithAttributesEPNS_9ExecStateEjPNS_7JSValueEj
-__ZN3KJS8JSObject18getOwnPropertySlotEPNS_9ExecStateEjRNS_12PropertySlotE
-__ZN3KJS8JSObject18getPrimitiveNumberEPNS_9ExecStateERdRPNS_7JSValueE
-__ZN3KJS8JSObject22fillGetterPropertySlotERNS_12PropertySlotEPPNS_7JSValueE
-__ZN3KJS8JSObject3putEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueERNS_15PutPropertySlotE
-__ZN3KJS8JSObject3putEPNS_9ExecStateEjPNS_7JSValueE
-__ZN3KJS8JSObject4markEv
-__ZN3KJS8Profiler13stopProfilingEPNS_9ExecStateERKNS_7UStringE
-__ZN3KJS8Profiler14startProfilingEPNS_9ExecStateERKNS_7UStringE
-__ZN3KJS8Profiler8profilerEv
-__ZN3KJS8jsStringEPNS_9ExecStateERKNS_7UStringE
-__ZN3KJS9CodeBlockD1Ev
-__ZN3KJS9CodeBlockD2Ev
-__ZN3KJS9constructEPNS_9ExecStateEPNS_7JSValueENS_13ConstructTypeERKNS_13ConstructDataERKNS_7ArgListE
-__ZN3KJSeqERKNS_7UStringEPKc
-__ZN3KJSgtERKNS_7UStringES2_
-__ZN3KJSltERKNS_7UStringES2_
+__ZN14OpaqueJSString6createERKN3JSC7UStringE
+__ZN3JSC10Identifier11addSlowCaseEPNS_12JSGlobalDataEPNS_7UString3RepE
+__ZN3JSC10Identifier11addSlowCaseEPNS_9ExecStateEPNS_7UString3RepE
+__ZN3JSC10Identifier3addEPNS_9ExecStateEPKc
+__ZN3JSC10Identifier5equalEPKNS_7UString3RepEPKc
+__ZN3JSC10throwErrorEPNS_9ExecStateENS_9ErrorTypeE
+__ZN3JSC10throwErrorEPNS_9ExecStateENS_9ErrorTypeEPKc
+__ZN3JSC10throwErrorEPNS_9ExecStateENS_9ErrorTypeERKNS_7UStringE
+__ZN3JSC11Interpreter11checkSyntaxEPNS_9ExecStateERKNS_7UStringEiS5_
+__ZN3JSC11Interpreter21shouldPrintExceptionsEv
+__ZN3JSC11Interpreter24setShouldPrintExceptionsEb
+__ZN3JSC11Interpreter8evaluateEPNS_9ExecStateERNS_10ScopeChainERKNS_7UStringEiN3WTF10PassRefPtrINS_14SourceProviderEEEPNS_7JSValueE
+__ZN3JSC11Interpreter8evaluateEPNS_9ExecStateERNS_10ScopeChainERKNS_7UStringEiS7_PNS_7JSValueE
+__ZN3JSC11JSImmediate8toObjectEPKNS_7JSValueEPNS_9ExecStateE
+__ZN3JSC11JSImmediate8toStringEPKNS_7JSValueE
+__ZN3JSC11JSImmediate9prototypeEPKNS_7JSValueEPNS_9ExecStateE
+__ZN3JSC11ProfileNode4sortEPFbRKN3WTF6RefPtrIS0_EES5_E
+__ZN3JSC11ProgramNode6createEPNS_12JSGlobalDataEPNS_14SourceElementsEPN3WTF6VectorISt4pairINS_10IdentifierEjELm16EEEPNS6_INS5_6RefPtrINS_12FuncDeclNodeEEELm16EEEPNS_14SourceProviderEbbi
+__ZN3JSC11PropertyMap11getLocationERKNS_10IdentifierE
+__ZN3JSC11PropertyMap11getLocationERKNS_10IdentifierERb
+__ZN3JSC11PropertyMap3putERKNS_10IdentifierEPNS_7JSValueEjbPNS_8JSObjectERNS_15PutPropertySlotE
+__ZN3JSC11PropertyMapD1Ev
+__ZN3JSC11StructureID21addPropertyTransitionEPS0_RKNS_10IdentifierE
+__ZN3JSC11StructureID24fromDictionaryTransitionEPS0_
+__ZN3JSC11StructureID25changePrototypeTransitionEPS0_PNS_7JSValueE
+__ZN3JSC11StructureIDD1Ev
+__ZN3JSC12DateInstance4infoE
+__ZN3JSC12JSGlobalData6createEv
+__ZN3JSC12JSGlobalDataD1Ev
+__ZN3JSC12SamplingTool4dumpEPNS_9ExecStateE
+__ZN3JSC12SamplingTool4stopEv
+__ZN3JSC12SamplingTool5startEj
+__ZN3JSC12SmallStrings17createEmptyStringEPNS_9ExecStateE
+__ZN3JSC12StringObject14deletePropertyEPNS_9ExecStateERKNS_10IdentifierE
+__ZN3JSC12StringObject14toThisJSStringEPNS_9ExecStateE
+__ZN3JSC12StringObject16getPropertyNamesEPNS_9ExecStateERNS_17PropertyNameArrayE
+__ZN3JSC12StringObject18getOwnPropertySlotEPNS_9ExecStateERKNS_10IdentifierERNS_12PropertySlotE
+__ZN3JSC12StringObject18getOwnPropertySlotEPNS_9ExecStateEjRNS_12PropertySlotE
+__ZN3JSC12StringObject3putEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueERNS_15PutPropertySlotE
+__ZN3JSC12StringObject4infoE
+__ZN3JSC12StringObjectC2EPNS_9ExecStateEPNS_8JSObjectERKNS_7UStringE
+__ZN3JSC13CodeGenerator21setDumpsGeneratedCodeEb
+__ZN3JSC13StatementNode6setLocEii
+__ZN3JSC13jsOwnedStringEPNS_9ExecStateERKNS_7UStringE
+__ZN3JSC14JSGlobalObject10globalExecEv
+__ZN3JSC14JSGlobalObject12defineGetterEPNS_9ExecStateERKNS_10IdentifierEPNS_8JSObjectE
+__ZN3JSC14JSGlobalObject12defineSetterEPNS_9ExecStateERKNS_10IdentifierEPNS_8JSObjectE
+__ZN3JSC14JSGlobalObject14setTimeoutTimeEj
+__ZN3JSC14JSGlobalObject16stopTimeoutCheckEv
+__ZN3JSC14JSGlobalObject17putWithAttributesEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueEj
+__ZN3JSC14JSGlobalObject17startTimeoutCheckEv
+__ZN3JSC14JSGlobalObject3putEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueERNS_15PutPropertySlotE
+__ZN3JSC14JSGlobalObject4initEPNS_8JSObjectE
+__ZN3JSC14JSGlobalObject4markEv
+__ZN3JSC14JSGlobalObjectD2Ev
+__ZN3JSC14JSGlobalObjectnwEmPNS_12JSGlobalDataE
+__ZN3JSC14constructArrayEPNS_9ExecStateERKNS_7ArgListE
+__ZN3JSC15JSWrapperObject4markEv
+__ZN3JSC16InternalFunction4infoE
+__ZN3JSC16InternalFunctionC2EPNS_9ExecStateEPNS_17FunctionPrototypeERKNS_10IdentifierE
+__ZN3JSC16JSVariableObject14deletePropertyEPNS_9ExecStateERKNS_10IdentifierE
+__ZN3JSC16JSVariableObject16getPropertyNamesEPNS_9ExecStateERNS_17PropertyNameArrayE
+__ZN3JSC16JSVariableObject16setRegisterArrayEPNS_8RegisterEm
+__ZN3JSC16ParserRefCounted3refEv
+__ZN3JSC16ParserRefCounted5derefEv
+__ZN3JSC17PropertyNameArray3addEPNS_7UString3RepE
+__ZN3JSC17PrototypeFunctionC1EPNS_9ExecStateEPNS_17FunctionPrototypeEiRKNS_10IdentifierEPFPNS_7JSValueES2_PNS_8JSObjectES9_RKNS_7ArgListEE
+__ZN3JSC17PrototypeFunctionC1EPNS_9ExecStateEiRKNS_10IdentifierEPFPNS_7JSValueES2_PNS_8JSObjectES7_RKNS_7ArgListEE
+__ZN3JSC17constructFunctionEPNS_9ExecStateERKNS_7ArgListERKNS_10IdentifierERKNS_7UStringEi
+__ZN3JSC19constructEmptyArrayEPNS_9ExecStateE
+__ZN3JSC19initializeThreadingEv
+__ZN3JSC20staticFunctionGetterEPNS_9ExecStateERKNS_10IdentifierERKNS_12PropertySlotE
+__ZN3JSC23objectProtoFuncToStringEPNS_9ExecStateEPNS_8JSObjectEPNS_7JSValueERKNS_7ArgListE
+__ZN3JSC23setUpStaticFunctionSlotEPNS_9ExecStateEPKNS_9HashEntryEPNS_8JSObjectERKNS_10IdentifierERNS_12PropertySlotE
+__ZN3JSC4Heap14allocateNumberEm
+__ZN3JSC4Heap15recordExtraCostEm
+__ZN3JSC4Heap17globalObjectCountEv
+__ZN3JSC4Heap20protectedObjectCountEv
+__ZN3JSC4Heap24setGCProtectNeedsLockingEv
+__ZN3JSC4Heap25protectedObjectTypeCountsEv
+__ZN3JSC4Heap26protectedGlobalObjectCountEv
+__ZN3JSC4Heap4heapEPKNS_7JSValueE
+__ZN3JSC4Heap4sizeEv
+__ZN3JSC4Heap7collectEv
+__ZN3JSC4Heap7protectEPNS_7JSValueE
+__ZN3JSC4Heap8allocateEm
+__ZN3JSC4Heap9unprotectEPNS_7JSValueE
+__ZN3JSC4callEPNS_9ExecStateEPNS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE
+__ZN3JSC5equalEPKNS_7UString3RepES3_
+__ZN3JSC6JSCell11getCallDataERNS_8CallDataE
+__ZN3JSC6JSCell11getJSNumberEv
+__ZN3JSC6JSCell14deletePropertyEPNS_9ExecStateERKNS_10IdentifierE
+__ZN3JSC6JSCell14deletePropertyEPNS_9ExecStateEj
+__ZN3JSC6JSCell14toThisJSStringEPNS_9ExecStateE
+__ZN3JSC6JSCell16getConstructDataERNS_13ConstructDataE
+__ZN3JSC6JSCell18getOwnPropertySlotEPNS_9ExecStateERKNS_10IdentifierERNS_12PropertySlotE
+__ZN3JSC6JSCell18getOwnPropertySlotEPNS_9ExecStateEjRNS_12PropertySlotE
+__ZN3JSC6JSCell3putEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueERNS_15PutPropertySlotE
+__ZN3JSC6JSCell3putEPNS_9ExecStateEjPNS_7JSValueE
+__ZN3JSC6JSCell9getObjectEv
+__ZN3JSC6JSCellnwEmPNS_9ExecStateE
+__ZN3JSC6JSLock12DropAllLocksC1EPNS_9ExecStateE
+__ZN3JSC6JSLock12DropAllLocksC1Eb
+__ZN3JSC6JSLock12DropAllLocksD1Ev
+__ZN3JSC6JSLock4lockEb
+__ZN3JSC6JSLock6unlockEb
+__ZN3JSC6JSLock9lockCountEv
+__ZN3JSC6JSLockC1EPNS_9ExecStateE
+__ZN3JSC6Parser5parseEPNS_9ExecStateERKNS_7UStringEiN3WTF10PassRefPtrINS_14SourceProviderEEEPiSA_PS3_
+__ZN3JSC6strtodEPKcPPc
+__ZN3JSC7ArgList10slowAppendEPNS_7JSValueE
+__ZN3JSC7CStringD1Ev
+__ZN3JSC7CStringaSERKS0_
+__ZN3JSC7JSArray4infoE
+__ZN3JSC7Profile10restoreAllEv
+__ZN3JSC7Profile5focusEPKNS_11ProfileNodeE
+__ZN3JSC7Profile7excludeEPKNS_11ProfileNodeE
+__ZN3JSC7Profile7forEachEMNS_11ProfileNodeEFvvE
+__ZN3JSC7UString3Rep11computeHashEPKti
+__ZN3JSC7UString3Rep4nullE
+__ZN3JSC7UString3Rep7destroyEv
+__ZN3JSC7UString4fromEj
+__ZN3JSC7UString6appendEPKc
+__ZN3JSC7UString6appendERKS0_
+__ZN3JSC7UStringC1EPKc
+__ZN3JSC7UStringC1EPKti
+__ZN3JSC7UStringaSEPKc
+__ZN3JSC8Debugger6attachEPNS_14JSGlobalObjectE
+__ZN3JSC8Debugger6detachEPNS_14JSGlobalObjectE
+__ZN3JSC8DebuggerC2Ev
+__ZN3JSC8DebuggerD2Ev
+__ZN3JSC8JSObject11hasInstanceEPNS_9ExecStateEPNS_7JSValueE
+__ZN3JSC8JSObject12defineGetterEPNS_9ExecStateERKNS_10IdentifierEPS0_
+__ZN3JSC8JSObject12defineSetterEPNS_9ExecStateERKNS_10IdentifierEPS0_
+__ZN3JSC8JSObject12lookupGetterEPNS_9ExecStateERKNS_10IdentifierE
+__ZN3JSC8JSObject12lookupSetterEPNS_9ExecStateERKNS_10IdentifierE
+__ZN3JSC8JSObject14deletePropertyEPNS_9ExecStateERKNS_10IdentifierE
+__ZN3JSC8JSObject14deletePropertyEPNS_9ExecStateEj
+__ZN3JSC8JSObject16getPropertyNamesEPNS_9ExecStateERNS_17PropertyNameArrayE
+__ZN3JSC8JSObject17createInheritorIDEv
+__ZN3JSC8JSObject17putDirectFunctionEPNS_9ExecStateEPNS_16InternalFunctionEj
+__ZN3JSC8JSObject17putWithAttributesEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueEj
+__ZN3JSC8JSObject17putWithAttributesEPNS_9ExecStateEjPNS_7JSValueEj
+__ZN3JSC8JSObject18getOwnPropertySlotEPNS_9ExecStateEjRNS_12PropertySlotE
+__ZN3JSC8JSObject18getPrimitiveNumberEPNS_9ExecStateERdRPNS_7JSValueE
+__ZN3JSC8JSObject22fillGetterPropertySlotERNS_12PropertySlotEPPNS_7JSValueE
+__ZN3JSC8JSObject3putEPNS_9ExecStateERKNS_10IdentifierEPNS_7JSValueERNS_15PutPropertySlotE
+__ZN3JSC8JSObject3putEPNS_9ExecStateEjPNS_7JSValueE
+__ZN3JSC8JSObject4markEv
+__ZN3JSC8Profiler13stopProfilingEPNS_9ExecStateERKNS_7UStringE
+__ZN3JSC8Profiler14startProfilingEPNS_9ExecStateERKNS_7UStringE
+__ZN3JSC8Profiler8profilerEv
+__ZN3JSC8jsStringEPNS_9ExecStateERKNS_7UStringE
+__ZN3JSC9CodeBlockD1Ev
+__ZN3JSC9CodeBlockD2Ev
+__ZN3JSC9constructEPNS_9ExecStateEPNS_7JSValueENS_13ConstructTypeERKNS_13ConstructDataERKNS_7ArgListE
+__ZN3JSCeqERKNS_7UStringEPKc
+__ZN3JSCgtERKNS_7UStringES2_
+__ZN3JSCltERKNS_7UStringES2_
__ZN3WTF10fastCallocEmm
__ZN3WTF10fastMallocEm
__ZN3WTF11fastReallocEPvm
__ZN3WTF8CollatorC1EPKc
__ZN3WTF8CollatorD1Ev
__ZN3WTF8fastFreeEPv
-__ZNK3KJS11PropertyMap3getERKNS_10IdentifierE
-__ZNK3KJS12DateInstance7getTimeERdRi
-__ZNK3KJS12StringObject12toThisStringEPNS_9ExecStateE
-__ZNK3KJS12StringObject8toStringEPNS_9ExecStateE
-__ZNK3KJS14JSGlobalObject14isDynamicScopeEv
-__ZNK3KJS14JSGlobalObject14toGlobalObjectEPNS_9ExecStateE
-__ZNK3KJS16InternalFunction21implementsHasInstanceEv
-__ZNK3KJS16JSVariableObject16isVariableObjectEv
-__ZNK3KJS16JSVariableObject21getPropertyAttributesEPNS_9ExecStateERKNS_10IdentifierERj
-__ZNK3KJS17DebuggerCallFrame10thisObjectEv
-__ZNK3KJS17DebuggerCallFrame12functionNameEv
-__ZNK3KJS17DebuggerCallFrame4typeEv
-__ZNK3KJS17DebuggerCallFrame8evaluateERKNS_7UStringERPNS_7JSValueE
-__ZNK3KJS4Node8toStringEv
-__ZNK3KJS6JSCell12toThisObjectEPNS_9ExecStateE
-__ZNK3KJS6JSCell12toThisStringEPNS_9ExecStateE
-__ZNK3KJS6JSCell14isGetterSetterEv
-__ZNK3KJS6JSCell17getTruncatedInt32ERi
-__ZNK3KJS6JSCell18getTruncatedUInt32ERj
-__ZNK3KJS6JSCell8isObjectEv
-__ZNK3KJS6JSCell8isStringEv
-__ZNK3KJS6JSCell9classInfoEv
-__ZNK3KJS6JSCell9getNumberEv
-__ZNK3KJS6JSCell9getStringERNS_7UStringE
-__ZNK3KJS6JSCell9getStringEv
-__ZNK3KJS6JSCell9getUInt32ERj
-__ZNK3KJS7ArgList8getSliceEiRS0_
-__ZNK3KJS7JSValue15toInt32SlowCaseEPNS_9ExecStateERb
-__ZNK3KJS7JSValue16toUInt32SlowCaseEPNS_9ExecStateERb
-__ZNK3KJS7JSValue7toFloatEPNS_9ExecStateE
-__ZNK3KJS7JSValue9toIntegerEPNS_9ExecStateE
-__ZNK3KJS7Machine18retrieveLastCallerEPNS_9ExecStateERiS3_RNS_7UStringERPNS_7JSValueE
-__ZNK3KJS7UString10UTF8StringEb
-__ZNK3KJS7UString14toStrictUInt32EPb
-__ZNK3KJS7UString5asciiEv
-__ZNK3KJS7UString6is8BitEv
-__ZNK3KJS7UString6substrEii
-__ZNK3KJS7UString8toUInt32EPb
-__ZNK3KJS7UString8toUInt32EPbb
-__ZNK3KJS8JSObject11hasPropertyEPNS_9ExecStateERKNS_10IdentifierE
-__ZNK3KJS8JSObject11hasPropertyEPNS_9ExecStateEj
-__ZNK3KJS8JSObject12defaultValueEPNS_9ExecStateENS_7JSValue22PreferredPrimitiveTypeE
-__ZNK3KJS8JSObject12toThisObjectEPNS_9ExecStateE
-__ZNK3KJS8JSObject14toGlobalObjectEPNS_9ExecStateE
-__ZNK3KJS8JSObject21getPropertyAttributesEPNS_9ExecStateERKNS_10IdentifierERj
-__ZNK3KJS8JSObject21implementsHasInstanceEv
-__ZNK3KJS8JSObject8isObjectEv
-__ZNK3KJS8JSObject8toNumberEPNS_9ExecStateE
-__ZNK3KJS8JSObject8toObjectEPNS_9ExecStateE
-__ZNK3KJS8JSObject8toStringEPNS_9ExecStateE
-__ZNK3KJS8JSObject9classNameEv
-__ZNK3KJS8JSObject9toBooleanEPNS_9ExecStateE
-__ZNK3KJS9CodeBlock17derefStructureIDsEPNS_11InstructionE
-__ZNK3KJS9HashTable11createTableEPNS_12JSGlobalDataE
+__ZNK3JSC11PropertyMap3getERKNS_10IdentifierE
+__ZNK3JSC12DateInstance7getTimeERdRi
+__ZNK3JSC12StringObject12toThisStringEPNS_9ExecStateE
+__ZNK3JSC12StringObject8toStringEPNS_9ExecStateE
+__ZNK3JSC14JSGlobalObject14isDynamicScopeEv
+__ZNK3JSC14JSGlobalObject14toGlobalObjectEPNS_9ExecStateE
+__ZNK3JSC16InternalFunction21implementsHasInstanceEv
+__ZNK3JSC16JSVariableObject16isVariableObjectEv
+__ZNK3JSC16JSVariableObject21getPropertyAttributesEPNS_9ExecStateERKNS_10IdentifierERj
+__ZNK3JSC17DebuggerCallFrame10thisObjectEv
+__ZNK3JSC17DebuggerCallFrame12functionNameEv
+__ZNK3JSC17DebuggerCallFrame4typeEv
+__ZNK3JSC17DebuggerCallFrame8evaluateERKNS_7UStringERPNS_7JSValueE
+__ZNK3JSC4Node8toStringEv
+__ZNK3JSC6JSCell12toThisObjectEPNS_9ExecStateE
+__ZNK3JSC6JSCell12toThisStringEPNS_9ExecStateE
+__ZNK3JSC6JSCell14isGetterSetterEv
+__ZNK3JSC6JSCell17getTruncatedInt32ERi
+__ZNK3JSC6JSCell18getTruncatedUInt32ERj
+__ZNK3JSC6JSCell8isObjectEv
+__ZNK3JSC6JSCell8isStringEv
+__ZNK3JSC6JSCell9classInfoEv
+__ZNK3JSC6JSCell9getNumberEv
+__ZNK3JSC6JSCell9getStringERNS_7UStringE
+__ZNK3JSC6JSCell9getStringEv
+__ZNK3JSC6JSCell9getUInt32ERj
+__ZNK3JSC7ArgList8getSliceEiRS0_
+__ZNK3JSC7JSValue15toInt32SlowCaseEPNS_9ExecStateERb
+__ZNK3JSC7JSValue16toUInt32SlowCaseEPNS_9ExecStateERb
+__ZNK3JSC7JSValue7toFloatEPNS_9ExecStateE
+__ZNK3JSC7JSValue9toIntegerEPNS_9ExecStateE
+__ZNK3JSC7Machine18retrieveLastCallerEPNS_9ExecStateERiS3_RNS_7UStringERPNS_7JSValueE
+__ZNK3JSC7UString10UTF8StringEb
+__ZNK3JSC7UString14toStrictUInt32EPb
+__ZNK3JSC7UString5asciiEv
+__ZNK3JSC7UString6is8BitEv
+__ZNK3JSC7UString6substrEii
+__ZNK3JSC7UString8toUInt32EPb
+__ZNK3JSC7UString8toUInt32EPbb
+__ZNK3JSC8JSObject11hasPropertyEPNS_9ExecStateERKNS_10IdentifierE
+__ZNK3JSC8JSObject11hasPropertyEPNS_9ExecStateEj
+__ZNK3JSC8JSObject12defaultValueEPNS_9ExecStateENS_7JSValue22PreferredPrimitiveTypeE
+__ZNK3JSC8JSObject12toThisObjectEPNS_9ExecStateE
+__ZNK3JSC8JSObject14toGlobalObjectEPNS_9ExecStateE
+__ZNK3JSC8JSObject21getPropertyAttributesEPNS_9ExecStateERKNS_10IdentifierERj
+__ZNK3JSC8JSObject21implementsHasInstanceEv
+__ZNK3JSC8JSObject8isObjectEv
+__ZNK3JSC8JSObject8toNumberEPNS_9ExecStateE
+__ZNK3JSC8JSObject8toObjectEPNS_9ExecStateE
+__ZNK3JSC8JSObject8toStringEPNS_9ExecStateE
+__ZNK3JSC8JSObject9classNameEv
+__ZNK3JSC8JSObject9toBooleanEPNS_9ExecStateE
+__ZNK3JSC9CodeBlock17derefStructureIDsEPNS_11InstructionE
+__ZNK3JSC9HashTable11createTableEPNS_12JSGlobalDataE
__ZNK3WTF8Collator7collateEPKtmS2_m
-__ZTVN3KJS12JSNumberCellE
-__ZTVN3KJS12StringObjectE
-__ZTVN3KJS14JSGlobalObjectE
-__ZTVN3KJS15JSWrapperObjectE
-__ZTVN3KJS16InternalFunctionE
-__ZTVN3KJS16JSVariableObjectE
-__ZTVN3KJS8JSObjectE
-__ZTVN3KJS8JSStringE
+__ZTVN3JSC12JSNumberCellE
+__ZTVN3JSC12StringObjectE
+__ZTVN3JSC14JSGlobalObjectE
+__ZTVN3JSC15JSWrapperObjectE
+__ZTVN3JSC16InternalFunctionE
+__ZTVN3JSC16JSVariableObjectE
+__ZTVN3JSC8JSObjectE
+__ZTVN3JSC8JSStringE
_jscore_fastmalloc_introspection
_kJSClassDefinitionEmpty
using namespace std;
-namespace KJS {
+namespace JSC {
#if COMPILER(GCC) && PLATFORM(X86)
asm(
"int3" "\n"
"1:" "\n"
#endif
- "call __ZN3KJS7Machine12cti_vm_throwEPv" "\n"
+ "call __ZN3JSC7Machine12cti_vm_throwEPv" "\n"
"addl $0x24, %esp" "\n"
"popl %edi" "\n"
"popl %esi" "\n"
{
__asm {
mov [esp], esp;
- call KJS::Machine::cti_vm_throw;
+ call JSC::Machine::cti_vm_throw;
add esp, 0x24;
pop edi;
pop esi;
return code;
}
-} // namespace KJS
+} // namespace JSC
#endif // ENABLE(CTI)
#define CTI_RETURN_ADDRESS ((ARGS)[-1])
-namespace KJS {
+namespace JSC {
class CodeBlock;
class ExecState;
#include <stdio.h>
#include <wtf/StringExtras.h>
-namespace KJS {
+namespace JSC {
#if !defined(NDEBUG) || ENABLE(SAMPLING_TOOL)
return defaultOffset;
}
-} // namespace KJS
+} // namespace JSC
#include <wtf/RefPtr.h>
#include <wtf/Vector.h>
-namespace KJS {
+namespace JSC {
class ExecState;
}
};
-} // namespace KJS
+} // namespace JSC
#endif // CodeBlock_h
using namespace std;
-namespace KJS {
+namespace JSC {
/*
The layout of a register frame looks like this:
}
}
-} // namespace KJS
+} // namespace JSC
#include <wtf/PassRefPtr.h>
#include <wtf/Vector.h>
-namespace KJS {
+namespace JSC {
class Identifier;
class ScopeChain;
#include "JSObject.h"
#include "JSNotAnObject.h"
-namespace KJS {
+namespace JSC {
static void substitute(UString& string, const UString& substring)
{
return exception;
}
-} // namespace KJS
+} // namespace JSC
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
class Node;
class CodeBlock;
JSValue* createNotAFunctionError(ExecState*, JSValue*, const Instruction*, CodeBlock*);
JSObject* createNotAnObjectError(ExecState*, JSNotAnObjectErrorStub*, const Instruction*, CodeBlock*);
-} // namespace KJS
+} // namespace JSC
#endif // ExceptionHelpers_h
#include "Opcode.h"
-namespace KJS {
+namespace JSC {
class JSCell;
class StructureID;
} u;
};
-} // namespace KJS
+} // namespace JSC
#endif // Instruction_h
#include "config.h"
#include "JSPropertyNameIterator.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(JSPropertyNameIterator);
m_propertyNames = 0;
}
-} // namespace KJS
+} // namespace JSC
#include "JSString.h"
#include "PropertyNameArray.h"
-namespace KJS {
+namespace JSC {
class Identifier;
class JSObject;
return 0;
}
-} // namespace KJS
+} // namespace JSC
#endif // JSPropertyNameIterator_h
#include <wtf/Vector.h>
#include <limits.h>
-namespace KJS {
+namespace JSC {
class LabelID {
public:
mutable JumpVector m_unresolvedJumps;
};
-} // namespace KJS
+} // namespace JSC
#endif // LabelID_h
using namespace std;
-namespace KJS {
+namespace JSC {
// Preferred number of milliseconds between each timeout check
static const int preferredScriptCheckTimeInterval = 1000;
#endif // ENABLE(CTI)
-} // namespace KJS
+} // namespace JSC
#include "CTI.h"
#endif
-namespace KJS {
+namespace JSC {
class CodeBlock;
class EvalNode;
#endif
};
-} // namespace KJS
+} // namespace JSC
#endif // Machine_h
using namespace std;
-namespace KJS {
+namespace JSC {
#if ENABLE(SAMPLING_TOOL) || DUMP_OPCODE_STATS
#endif
-} // namespace KJS
+} // namespace JSC
#include <wtf/Assertions.h>
-namespace KJS {
+namespace JSC {
#define DUMP_OPCODE_STATS 0
#endif
-} // namespace KJS
+} // namespace JSC
#endif // Opcodes_h
#include "JSValue.h"
#include <wtf/VectorTraits.h>
-namespace KJS {
+namespace JSC {
class CodeBlock;
class ExecState;
return u.v;
}
-} // namespace KJS
+} // namespace JSC
namespace WTF {
- template<> struct VectorTraits<KJS::Register> : VectorTraitsBase<true, KJS::Register> { };
+ template<> struct VectorTraits<JSC::Register> : VectorTraitsBase<true, JSC::Register> { };
} // namespace WTF
#include "config.h"
#include "RegisterFile.h"
-namespace KJS {
+namespace JSC {
RegisterFile::~RegisterFile()
{
#endif
}
-} // namespace KJS
+} // namespace JSC
#endif
#include <wtf/Noncopyable.h>
-namespace KJS {
+namespace JSC {
/*
A register file is a stack of register frames. We represent a register
JSGlobalObject* m_globalObject; // The global object whose vars are currently stored in the register file.
};
-} // namespace KJS
+} // namespace JSC
#endif // RegisterFile_h
#include <wtf/Noncopyable.h>
#include <wtf/VectorTraits.h>
-namespace KJS {
+namespace JSC {
class RegisterID : Noncopyable {
public:
inline RegisterID* ignoredResult() { return reinterpret_cast<RegisterID*>(1); }
-} // namespace KJS
+} // namespace JSC
namespace WTF {
- template<> struct VectorTraits<KJS::RegisterID> : VectorTraitsBase<true, KJS::RegisterID> {
+ template<> struct VectorTraits<JSC::RegisterID> : VectorTraitsBase<true, JSC::RegisterID> {
static const bool needsInitialization = true;
static const bool canInitializeWithMemset = true; // Default initialization just sets everything to 0 or false, so this is safe.
};
#include <unistd.h>
#endif
-namespace KJS {
+namespace JSC {
void ScopeSampleRecord::sample(CodeBlock* codeBlock, Instruction* vPC)
{
#endif
-} // namespace KJS
+} // namespace JSC
#include <nodes.h>
#include <Opcode.h>
-namespace KJS {
+namespace JSC {
class ExecState;
class ScopeNode;
#define CTI_MACHINE_SAMPLING_callingHostFunction()
#endif
-} // namespace KJS
+} // namespace JSC
#endif // SamplingTool_h
#include <wtf/Vector.h>
-namespace KJS {
+namespace JSC {
template <typename T, size_t SegmentSize> class SegmentedVector {
public:
Vector<Segment*, 32> m_segments;
};
-} // namespace KJS
+} // namespace JSC
#endif // SegmentedVector_h
using std::min;
-namespace KJS {
+namespace JSC {
void ArgList::getSlice(int startIndex, ArgList& result) const
{
m_buffer = m_vector.data();
}
-} // namespace KJS
+} // namespace JSC
#include <wtf/Noncopyable.h>
#include <wtf/Vector.h>
-namespace KJS {
+namespace JSC {
class JSValue;
void operator delete(void*, size_t);
};
-} // namespace KJS
+} // namespace JSC
#endif // ArgList_h
#include "JSGlobalObject.h"
#include "ObjectPrototype.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(Arguments);
return JSObject::deleteProperty(exec, propertyName);
}
-} // namespace KJS
+} // namespace JSC
#include "IndexToNameMap.h"
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
class JSActivation;
OwnPtr<ArgumentsData> d;
};
-} // namespace KJS
+} // namespace JSC
#endif // Arguments_h
#include "JSArray.h"
#include "lookup.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(ArrayConstructor);
return CallTypeHost;
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
-namespace KJS {
+namespace JSC {
class ArrayPrototype;
class FunctionPrototype;
virtual CallType getCallData(CallData&);
};
-} // namespace KJS
+} // namespace JSC
#endif // ArrayConstructor_h
#include <wtf/Assertions.h>
#include <wtf/HashSet.h>
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(ArrayPrototype);
#include "ArrayPrototype.lut.h"
-namespace KJS {
+namespace JSC {
// ------------------------------ ArrayPrototype ----------------------------
return jsNumber(exec, -1);
}
-} // namespace KJS
+} // namespace JSC
#include "JSArray.h"
#include "lookup.h"
-namespace KJS {
+namespace JSC {
class ArrayPrototype : public JSArray {
public:
static const ClassInfo info;
};
-} // namespace KJS
+} // namespace JSC
#endif // ArrayPrototype_h
#include <wtf/Noncopyable.h>
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
class BatchedTransitionOptimizer : Noncopyable {
public:
JSObject* m_object;
};
-} // namespace KJS
+} // namespace JSC
#endif // BatchedTransitionOptimizer_h
#include "BooleanPrototype.h"
#include "JSGlobalObject.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(BooleanConstructor);
return obj;
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
-namespace KJS {
+namespace JSC {
class BooleanPrototype;
class FunctionPrototype;
JSObject* constructBooleanFromImmediateBoolean(ExecState*, JSValue*);
JSObject* constructBoolean(ExecState*, const ArgList&);
-} // namespace KJS
+} // namespace JSC
#endif // BooleanConstructor_h
#include "config.h"
#include "BooleanObject.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(BooleanObject);
{
}
-} // namespace KJS
+} // namespace JSC
#include "JSWrapperObject.h"
-namespace KJS {
+namespace JSC {
class BooleanObject : public JSWrapperObject {
public:
static const ClassInfo info;
};
-} // namespace KJS
+} // namespace JSC
#endif // BooleanObject_h
#include "ObjectPrototype.h"
#include "PrototypeFunction.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(BooleanPrototype);
return static_cast<BooleanObject*>(thisValue)->internalValue();
}
-} // namespace KJS
+} // namespace JSC
#include "BooleanObject.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
class ObjectPrototype;
BooleanPrototype(ExecState*, ObjectPrototype*, FunctionPrototype*);
};
-} // namespace KJS
+} // namespace JSC
#endif // BooleanPrototype_h
#include "JSFunction.h"
-namespace KJS {
+namespace JSC {
JSValue* call(ExecState* exec, JSValue* functionObject, CallType callType, const CallData& callData, JSValue* thisValue, const ArgList& args)
{
return static_cast<JSFunction*>(functionObject)->call(exec, thisValue, args);
}
-} // namespace KJS
+} // namespace JSC
#ifndef CallData_h
#define CallData_h
-namespace KJS {
+namespace JSC {
class ArgList;
class ExecState;
JSValue* call(ExecState*, JSValue* functionObject, CallType, const CallData&, JSValue* thisValue, const ArgList&);
-} // namespace KJS
+} // namespace JSC
#endif // CallData_h
#include "ExecState.h"
-namespace KJS {
+namespace JSC {
struct HashEntry;
struct HashTable;
const ClassPropHashTableGetterFunction classPropHashTableGetterFunction;
};
-} // namespace KJS
+} // namespace JSC
#endif // ClassInfo_h
#include "config.h"
#include "CommonIdentifiers.h"
-namespace KJS {
+namespace JSC {
const char* const nullCString = 0;
{
}
-} // namespace KJS
+} // namespace JSC
macro(UTC) \
macro(valueOf)
-namespace KJS {
+namespace JSC {
class CommonIdentifiers : Noncopyable {
private:
#undef KJS_IDENTIFIER_DECLARE_PROPERTY_NAME_GLOBAL
};
-} // namespace KJS
+} // namespace JSC
#endif // CommonIdentifiers_h
#include "JSFunction.h"
-namespace KJS {
+namespace JSC {
JSObject* construct(ExecState* exec, JSValue* object, ConstructType constructType, const ConstructData& constructData, const ArgList& args)
{
return static_cast<JSFunction*>(object)->construct(exec, args);
}
-} // namespace KJS
+} // namespace JSC
#ifndef ConstructData_h
#define ConstructData_h
-namespace KJS {
+namespace JSC {
class ArgList;
class ExecState;
JSObject* construct(ExecState*, JSValue* constructor, ConstructType, const ConstructData&, const ArgList&);
-} // namespace KJS
+} // namespace JSC
#endif // ConstructData_h
#include <sys/timeb.h>
#endif
-namespace KJS {
+namespace JSC {
// TODO: MakeTime (15.9.11.1) etc. ?
return jsNumber(exec, gregorianDateTimeToMS(t, ms, true));
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
-namespace KJS {
+namespace JSC {
class DatePrototype;
class FunctionPrototype;
virtual CallType getCallData(CallData&);
};
-} // namespace KJS
+} // namespace JSC
#endif // DateConstructor_h
#include <math.h>
#include <wtf/MathExtras.h>
-namespace KJS {
+namespace JSC {
struct DateInstance::Cache {
double m_gregorianDateTimeCachedForMS;
if (outputIsUTC) {
if (m_cache->m_gregorianDateTimeUTCCachedForMS != milli) {
- KJS::msToGregorianDateTime(milli, true, m_cache->m_cachedGregorianDateTimeUTC);
+ JSC::msToGregorianDateTime(milli, true, m_cache->m_cachedGregorianDateTimeUTC);
m_cache->m_gregorianDateTimeUTCCachedForMS = milli;
}
t.copyFrom(m_cache->m_cachedGregorianDateTimeUTC);
} else {
if (m_cache->m_gregorianDateTimeCachedForMS != milli) {
- KJS::msToGregorianDateTime(milli, false, m_cache->m_cachedGregorianDateTime);
+ JSC::msToGregorianDateTime(milli, false, m_cache->m_cachedGregorianDateTime);
m_cache->m_gregorianDateTimeCachedForMS = milli;
}
t.copyFrom(m_cache->m_cachedGregorianDateTime);
return true;
}
-} // namespace KJS
+} // namespace JSC
#include "JSWrapperObject.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
class ObjectPrototype;
mutable Cache* m_cache;
};
-} // namespace KJS
+} // namespace JSC
#endif // DateInstance_h
using namespace WTF;
-namespace KJS {
+namespace JSC {
/* Constants */
return UString(buffer);
}
-} // namespace KJS
+} // namespace JSC
#include <string.h>
#include <wtf/Noncopyable.h>
-namespace KJS {
+namespace JSC {
class UString;
struct GregorianDateTime;
return t.utcOffset;
}
-} // namespace KJS
+} // namespace JSC
#endif // DateMath_h
using namespace WTF;
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(DatePrototype);
#include "DatePrototype.lut.h"
-namespace KJS {
+namespace JSC {
#if PLATFORM(MAC)
return jsNumber(exec, t.year);
}
-} // namespace KJS
+} // namespace JSC
#include "DateInstance.h"
-namespace KJS {
+namespace JSC {
class ObjectPrototype;
static const ClassInfo info;
};
-} // namespace KJS
+} // namespace JSC
#endif // DatePrototype_h
#include "Machine.h"
#include "Parser.h"
-namespace KJS {
+namespace JSC {
Register* DebuggerCallFrame::callFrame() const
{
return newExec.machine()->execute(evalNode.get(), &newExec, thisObject, m_scopeChain, &exception);
}
-} // namespace KJS
+} // namespace JSC
#ifndef DebuggerCallFrame_h
#define DebuggerCallFrame_h
-namespace KJS {
+namespace JSC {
class CodeBlock;
class ExecState;
JSValue* m_exception;
};
-} // namespace KJS
+} // namespace JSC
#endif // DebuggerCallFrame_h
#include "JSString.h"
#include "NativeErrorConstructor.h"
-namespace KJS {
+namespace JSC {
const char* expressionBeginOffsetPropertyName = "expressionBeginOffset";
const char* expressionCaretOffsetPropertyName = "expressionCaretOffset";
return error;
}
-} // namespace KJS
+} // namespace JSC
#ifndef Error_h
#define Error_h
-namespace KJS {
+namespace JSC {
class ExecState;
class JSObject;
JSObject* throwError(ExecState*, ErrorType, const char* message);
JSObject* throwError(ExecState*, ErrorType);
-} // namespace KJS
+} // namespace JSC
#endif // Error_h
#include "JSGlobalObject.h"
#include "JSString.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(ErrorConstructor);
return CallTypeHost;
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
-namespace KJS {
+namespace JSC {
class ErrorPrototype;
class FunctionPrototype;
virtual CallType getCallData(CallData&);
};
-} // namespace KJS
+} // namespace JSC
#endif // ErrorConstructor_h
#include "config.h"
#include "ErrorInstance.h"
-namespace KJS {
+namespace JSC {
const ClassInfo ErrorInstance::info = { "Error", 0, 0, 0 };
{
}
-} // namespace KJS
+} // namespace JSC
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
class ErrorInstance : public JSObject {
public:
static const ClassInfo info;
};
-} // namespace KJS
+} // namespace JSC
#endif // ErrorInstance_h
#include "PrototypeFunction.h"
#include "ustring.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(ErrorPrototype);
return jsNontrivialString(exec, s);
}
-} // namespace KJS
+} // namespace JSC
#include "ErrorInstance.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
class ObjectPrototype;
ErrorPrototype(ExecState*, ObjectPrototype*, FunctionPrototype*);
};
-} // namespace KJS
+} // namespace JSC
#endif // ErrorPrototype_h
#include "JSString.h"
#include "ScopeChainMark.h"
-namespace KJS {
+namespace JSC {
ExecState::ExecState(JSGlobalObject* globalObject, JSObject* globalThisValue, ScopeChainNode* globalScopeChain)
: m_globalObject(globalObject)
return o->isGlobalObject();
}
-} // namespace KJS
+} // namespace JSC
#include "JSGlobalData.h"
#include "ScopeChain.h"
-namespace KJS {
+namespace JSC {
class EvalNode;
class FunctionBodyNode;
enum CodeType { GlobalCode, EvalCode, FunctionCode };
-} // namespace KJS
+} // namespace JSC
#endif // ExecState_h
#include "lexer.h"
#include "nodes.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(FunctionConstructor);
return constructFunction(exec, args, Identifier(exec, "anonymous"), UString(), 1);
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
JSObject* constructFunction(ExecState*, const ArgList&, const Identifier& functionName, const UString& sourceURL, int lineNumber);
JSObject* constructFunction(ExecState*, const ArgList&);
-} // namespace KJS
+} // namespace JSC
#endif // FunctionConstructor_h
#include "JSString.h"
#include "PrototypeFunction.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(FunctionPrototype);
return call(exec, thisValue, callType, callData, callThis, argsTail);
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype : public InternalFunction {
public:
virtual CallType getCallData(CallData&);
};
-} // namespace KJS
+} // namespace JSC
#endif // FunctionPrototype_h
#include "JSObject.h"
#include <wtf/Assertions.h>
-namespace KJS {
+namespace JSC {
void GetterSetter::mark()
{
return true;
}
-} // namespace KJS
+} // namespace JSC
#include "JSCell.h"
-namespace KJS {
+namespace JSC {
class JSObject;
JSObject* m_setter;
};
-} // namespace KJS
+} // namespace JSC
#endif // GetterSetter_h
#include "JSGlobalObject.h"
#include <wtf/Assertions.h>
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(GlobalEvalFunction);
m_cachedGlobalObject->mark();
}
-} // namespace KJS
+} // namespace JSC
#include "PrototypeFunction.h"
-namespace KJS {
+namespace JSC {
class ExecState;
class FunctionPrototype;
JSGlobalObject* m_cachedGlobalObject;
};
-} // namespace KJS
+} // namespace JSC
#endif // GlobalEvalFunction_h
#include "JSFunction.h"
#include "identifier.h"
-namespace KJS {
+namespace JSC {
// We map indexes in the arguments array to their corresponding argument names.
// Example: function f(x, y, z): arguments[0] = x, so we map 0 to Identifier("x").
return m_map[indexAsNumber];
}
-} // namespace KJS
+} // namespace JSC
#ifndef IndexToNameMap_h
#define IndexToNameMap_h
-namespace KJS {
+namespace JSC {
class ArgList;
class ExecState;
Identifier* m_map; // FIMXE: this should be an OwnArrayPtr
};
-} // namespace KJS
+} // namespace JSC
#endif // IndexToNameMap_h
#include "ustring.h"
#include <wtf/Threading.h>
-namespace KJS {
+namespace JSC {
#if PLATFORM(DARWIN)
static pthread_once_t initializeThreadingKeyOnce = PTHREAD_ONCE_INIT;
#endif
}
-} // namespace KJS
+} // namespace JSC
#ifndef KJS_InitializeThreading_h
#define KJS_InitializeThreading_h
-namespace KJS {
+namespace JSC {
// This function must be called from the main thread. It is safe to call it repeatedly.
// Darwin is an exception to this rule: it is OK to call this function from any thread, even reentrantly.
#include "FunctionPrototype.h"
#include "JSString.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(InternalFunction);
return true;
}
-} // namespace KJS
+} // namespace JSC
#include "JSObject.h"
#include "identifier.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
const UString& name(ExecState*);
protected:
- InternalFunction(PassRefPtr<KJS::StructureID> st) : JSObject(st){}
+ InternalFunction(PassRefPtr<JSC::StructureID> st) : JSObject(st){}
InternalFunction(ExecState*);
InternalFunction(ExecState*, FunctionPrototype*, const Identifier&);
virtual bool implementsHasInstance() const;
};
-} // namespace KJS
+} // namespace JSC
#endif // InternalFunction_h
#include "Register.h"
#include "JSFunction.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(JSActivation);
return new (exec) Arguments(exec, function, args, this);
}
-} // namespace KJS
+} // namespace JSC
#include "SymbolTable.h"
#include "nodes.h"
-namespace KJS {
+namespace JSC {
class Register;
JSActivationData* d() const { return static_cast<JSActivationData*>(JSVariableObject::d); }
};
-} // namespace KJS
+} // namespace JSC
#endif // JSActivation_h
using namespace std;
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(JSArray);
return new (exec) JSArray(exec, exec->lexicalGlobalObject()->arrayPrototype(), values);
}
-} // namespace KJS
+} // namespace JSC
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
typedef HashMap<unsigned, JSValue*> SparseArrayValueMap;
JSArray* constructArray(ExecState*, JSValue* singleItemValue);
JSArray* constructArray(ExecState*, const ArgList& values);
-} // namespace KJS
+} // namespace JSC
#endif // JSArray_h
#include "JSObject.h"
#include <wtf/MathExtras.h>
-namespace KJS {
+namespace JSC {
#if defined NAN && defined INFINITY
return false;
}
-} // namespace KJS
+} // namespace JSC
#include "JSValue.h"
#include "collector.h"
-namespace KJS {
+namespace JSC {
class JSCell : public JSValue {
friend class Heap;
return JSImmediate::isNumber(this) ? this : (JSImmediate::isImmediate(this) ? 0 : asCell()->getJSNumber());
}
-} // namespace KJS
+} // namespace JSC
#endif // JSCell_h
using namespace WTF;
using namespace Unicode;
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(JSFunction);
return static_cast<JSObject*>(result);
}
-} // namespace KJS
+} // namespace JSC
#include "nodes.h"
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
class FunctionBodyNode;
class FunctionPrototype;
friend class Machine;
typedef InternalFunction Base;
- JSFunction(PassRefPtr<KJS::StructureID> st) : InternalFunction(st), m_scopeChain(NoScopeChain()) {}
+ JSFunction(PassRefPtr<JSC::StructureID> st) : InternalFunction(st), m_scopeChain(NoScopeChain()) {}
public:
JSFunction(ExecState*, const Identifier&, FunctionBodyNode*, ScopeChainNode*);
using namespace WTF;
-namespace KJS {
+namespace JSC {
extern const HashTable arrayTable;
extern const HashTable dateTable;
: machine(new Machine)
, heap(new Heap(this))
#if ENABLE(JSC_MULTIPLE_THREADS)
- , arrayTable(new HashTable(KJS::arrayTable))
- , dateTable(new HashTable(KJS::dateTable))
- , mathTable(new HashTable(KJS::mathTable))
- , numberTable(new HashTable(KJS::numberTable))
- , regExpTable(new HashTable(KJS::regExpTable))
- , regExpConstructorTable(new HashTable(KJS::regExpConstructorTable))
- , stringTable(new HashTable(KJS::stringTable))
+ , arrayTable(new HashTable(JSC::arrayTable))
+ , dateTable(new HashTable(JSC::dateTable))
+ , mathTable(new HashTable(JSC::mathTable))
+ , numberTable(new HashTable(JSC::numberTable))
+ , regExpTable(new HashTable(JSC::regExpTable))
+ , regExpConstructorTable(new HashTable(JSC::regExpConstructorTable))
+ , stringTable(new HashTable(JSC::stringTable))
#else
- , arrayTable(&KJS::arrayTable)
- , dateTable(&KJS::dateTable)
- , mathTable(&KJS::mathTable)
- , numberTable(&KJS::numberTable)
- , regExpTable(&KJS::regExpTable)
- , regExpConstructorTable(&KJS::regExpConstructorTable)
- , stringTable(&KJS::stringTable)
+ , arrayTable(&JSC::arrayTable)
+ , dateTable(&JSC::dateTable)
+ , mathTable(&JSC::mathTable)
+ , numberTable(&JSC::numberTable)
+ , regExpTable(&JSC::regExpTable)
+ , regExpConstructorTable(&JSC::regExpConstructorTable)
+ , stringTable(&JSC::stringTable)
#endif
, nullProtoStructureID(StructureID::create(jsNull()))
, identifierTable(createIdentifierTable())
struct OpaqueJSClass;
struct OpaqueJSClassContextData;
-namespace KJS {
+namespace JSC {
class ArgList;
class CommonIdentifiers;
#include "StringPrototype.h"
#include "debugger.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(JSGlobalObject);
#endif
}
-} // namespace KJS
+} // namespace JSC
#include <wtf/HashSet.h>
#include <wtf/OwnPtr.h>
-namespace KJS {
+namespace JSC {
class ArrayPrototype;
class BooleanPrototype;
return globalObject;
}
-} // namespace KJS
+} // namespace JSC
#endif // JSGlobalObject_h
using namespace WTF;
using namespace Unicode;
-namespace KJS {
+namespace JSC {
static JSValue* encode(ExecState* exec, const ArgList& args, const char* doNotEscape)
{
}
#endif
-} // namespace KJS
+} // namespace JSC
#ifndef JSGlobalObjectFunctions_h
#define JSGlobalObjectFunctions_h
-namespace KJS {
+namespace JSC {
class ArgList;
class ExecState;
static const double mantissaOverflowLowerBound = 9007199254740992.0;
double parseIntOverflow(const char*, int length, int radix);
-} // namespace KJS
+} // namespace JSC
#endif // JSGlobalObjectFunctions_h
#include "NumberConstructor.h"
#include "NumberPrototype.h"
-namespace KJS {
+namespace JSC {
JSObject* JSImmediate::toObject(const JSValue* v, ExecState* exec)
{
return "undefined";
}
-} // namespace KJS
+} // namespace JSC
#include <stdint.h>
#include <stdlib.h>
-namespace KJS {
+namespace JSC {
class ExecState;
class JSObject;
return b ? JSImmediate::trueImmediate() : JSImmediate::falseImmediate();
}
-} // namespace KJS
+} // namespace JSC
#endif
#include <pthread.h>
#endif
-namespace KJS {
+namespace JSC {
#if ENABLE(JSC_MULTIPLE_THREADS)
#endif // USE(MULTIPLE_THREADS)
-} // namespace KJS
+} // namespace JSC
#include <wtf/Assertions.h>
#include <wtf/Noncopyable.h>
-namespace KJS {
+namespace JSC {
// To make it safe to use JavaScript on multiple threads, it is
// important to lock before doing anything that allocates a
#include <wtf/UnusedParam.h>
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(JSNotAnObject);
ASSERT(exec->hadException() && exec->exception() == m_exception);
}
-} // namespace KJS
+} // namespace JSC
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
class JSNotAnObjectErrorStub : public JSObject {
public:
JSNotAnObjectErrorStub* m_exception;
};
-} // namespace KJS
+} // namespace JSC
#endif // JSNotAnObject_h
#include "NumberObject.h"
#include "ustring.h"
-namespace KJS {
+namespace JSC {
JSValue* JSNumberCell::toPrimitive(ExecState*, PreferredPrimitiveType) const
{
return this;
}
-} // namespace KJS
+} // namespace JSC
#include "ustring.h"
#include <stddef.h> // for size_t
-namespace KJS {
+namespace JSC {
class Identifier;
class JSCell;
return JSImmediate::isNumber(this) ? const_cast<JSValue*>(this) : jsNumber(exec, this->toNumber(exec));
}
-} // namespace KJS
+} // namespace JSC
#endif // JSNumberCell_h
#endif // JSOBJECT_MARK_TRACING
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(JSObject);
return new (exec) JSObject(exec->lexicalGlobalObject()->objectPrototype());
}
-} // namespace KJS
+} // namespace JSC
#include "ScopeChain.h"
#include "StructureID.h"
-namespace KJS {
+namespace JSC {
class InternalFunction;
class PropertyNameArray;
asCell()->put(exec, propertyName, value);
}
-} // namespace KJS
+} // namespace JSC
#endif // JSObject_h
#include "JSStaticScopeObject.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(JSStaticScopeObject);
#include "JSVariableObject.h"
-namespace KJS{
+namespace JSC{
class JSStaticScopeObject : public JSVariableObject {
protected:
#include "StringObject.h"
#include "StringPrototype.h"
-namespace KJS {
+namespace JSC {
JSValue* JSString::toPrimitive(ExecState*, PreferredPrimitiveType) const
{
return new (exec) JSString(s, JSString::HasOtherOwner);
}
-} // namespace KJS
+} // namespace JSC
#include "PropertySlot.h"
#include "identifier.h"
-namespace KJS {
+namespace JSC {
class JSString;
return JSImmediate::isImmediate(this) ? jsString(exec, JSImmediate::toString(this)) : asCell()->toThisJSString(exec);
}
-} // namespace KJS
+} // namespace JSC
#endif // JSString_h
#ifndef KJS_JSTYPE_H
#define KJS_JSTYPE_H
-namespace KJS {
+namespace JSC {
/**
* Primitive types
GetterSetterType = 7
};
-} // namespace KJS
+} // namespace JSC
#endif
#include "JSFunction.h"
#include <wtf/MathExtras.h>
-namespace KJS {
+namespace JSC {
static const double D32 = 4294967296.0;
return static_cast<float>(toNumber(exec));
}
-} // namespace KJS
+} // namespace JSC
// can have unexpected effects in this type of macro, particularly where multiple-inheritance is involved).
#define OBJECT_OFFSET(class, member) (reinterpret_cast<ptrdiff_t>(&(reinterpret_cast<class*>(0x4000)->member)) - 0x4000)
-namespace KJS {
+namespace JSC {
class ExecState;
class Identifier;
return toUInt32SlowCase(exec, ok);
}
-} // namespace KJS
+} // namespace JSC
#endif // JSValue_h
#include "PropertyNameArray.h"
#include "PropertyMap.h"
-namespace KJS {
+namespace JSC {
bool JSVariableObject::deleteProperty(ExecState* exec, const Identifier& propertyName)
{
d->registers = registerArray + count;
}
-} // namespace KJS
+} // namespace JSC
#include <wtf/OwnArrayPtr.h>
#include <wtf/UnusedParam.h>
-namespace KJS {
+namespace JSC {
class Register;
return true;
}
-} // namespace KJS
+} // namespace JSC
#endif // JSVariableObject_h
#include "config.h"
#include "JSWrapperObject.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(JSWrapperObject);
m_internalValue->mark();
}
-} // namespace KJS
+} // namespace JSC
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
/**
This class is used as a base for classes such as String,
m_internalValue = value;
}
-} // namespace KJS
+} // namespace JSC
#endif // KJS_JSWrapperObject_h
#include "config.h"
#include "LabelStack.h"
-namespace KJS {
+namespace JSC {
bool LabelStack::push(const Identifier& id)
{
return false;
}
-} // namespace KJS
+} // namespace JSC
#include "identifier.h"
#include <wtf/Noncopyable.h>
-namespace KJS {
+namespace JSC {
class LabelStack : Noncopyable {
public:
}
}
-} // namespace KJS
+} // namespace JSC
#endif // LabelStack_h
#include <wtf/Assertions.h>
#include <wtf/MathExtras.h>
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(MathObject);
#include "MathObject.lut.h"
-namespace KJS {
+namespace JSC {
// ------------------------------ MathObject --------------------------------
return jsNumber(exec, tan(args.at(exec, 0)->toNumber(exec)));
}
-} // namespace KJS
+} // namespace JSC
#include "JSObject.h"
#include "lookup.h"
-namespace KJS {
+namespace JSC {
class MathObject : public JSObject {
public:
static const ClassInfo info;
};
-} // namespace KJS
+} // namespace JSC
#endif // MathObject_h
#include "JSFunction.h"
#include "NativeErrorPrototype.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(NativeErrorConstructor);
m_proto->mark();
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
-namespace KJS {
+namespace JSC {
class ErrorInstance;
class FunctionPrototype;
NativeErrorPrototype* m_proto;
};
-} // namespace KJS
+} // namespace JSC
#endif // NativeErrorConstructor_h
#include "JSString.h"
#include "ustring.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(NativeErrorPrototype);
putDirect(exec->propertyNames().message, jsString(exec, message), 0);
}
-} // namespace KJS
+} // namespace JSC
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
class ErrorPrototype;
class UString;
NativeErrorPrototype(ExecState*, ErrorPrototype*, const UString& name, const UString& message);
};
-} // namespace KJS
+} // namespace JSC
#endif // NativeErrorPrototype_h
#include "nodes.h"
#include "Parser.h"
-namespace KJS {
+namespace JSC {
typedef unsigned int FeatureInfo;
typedef NodeDeclarationInfo<ExpressionNode*> VarDeclListInfo;
typedef NodeDeclarationInfo<ConstDeclList> ConstDeclListInfo;
-} // namespace KJS
+} // namespace JSC
#endif // NodeInfo_h
#include "NumberObject.h"
#include "NumberPrototype.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(NumberConstructor);
return CallTypeHost;
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
class NumberPrototype;
virtual const ClassInfo* classInfo() const { return &info; }
};
-} // namespace KJS
+} // namespace JSC
#endif // NumberConstructor_h
#include "JSGlobalObject.h"
#include "NumberPrototype.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(NumberObject);
return obj;
}
-} // namespace KJS
+} // namespace JSC
#include "JSWrapperObject.h"
-namespace KJS {
+namespace JSC {
class JSNumberCell;
NumberObject* constructNumber(ExecState*, JSNumberCell*);
NumberObject* constructNumberFromImmediateNumber(ExecState*, JSValue*);
-} // namespace KJS
+} // namespace JSC
#endif // NumberObject_h
#include <wtf/MathExtras.h>
#include <wtf/Vector.h>
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(NumberPrototype);
return jsNontrivialString(exec, s + "0." + charSequence('0', -(e + 1)) + m);
}
-} // namespace KJS
+} // namespace JSC
#include "NumberObject.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
class ObjectPrototype;
NumberPrototype(ExecState*, ObjectPrototype*, FunctionPrototype*);
};
-} // namespace KJS
+} // namespace JSC
#endif // NumberPrototype_h
#include "JSGlobalObject.h"
#include "ObjectPrototype.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(ObjectConstructor);
return CallTypeHost;
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
class ObjectPrototype;
virtual CallType getCallData(CallData&);
};
-} // namespace KJS
+} // namespace JSC
#endif // ObjectConstructor_h
#include "JSString.h"
#include "PrototypeFunction.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(ObjectPrototype);
return jsNontrivialString(exec, "[object " + thisValue->toThisObject(exec)->className() + "]");
}
-} // namespace KJS
+} // namespace JSC
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
JSValue* objectProtoFuncToString(ExecState*, JSObject*, JSValue*, const ArgList&);
-} // namespace KJS
+} // namespace JSC
#endif // ObjectPrototype_h
extern int kjsyyparse(void*);
-namespace KJS {
+namespace JSC {
Parser::Parser()
: m_sourceId(0)
m_numConstants = numConstants;
}
-} // namespace KJS
+} // namespace JSC
#include <wtf/OwnPtr.h>
#include <wtf/RefPtr.h>
-namespace KJS {
+namespace JSC {
class FunctionBodyNode;
class ProgramNode;
return node.release();
}
-} // namespace KJS
+} // namespace JSC
#endif // Parser_h
#define USE_SINGLE_ENTRY 1
-namespace KJS {
+namespace JSC {
// Choose a number for the following so that most property maps are smaller,
// but it's not going to blow out the stack to allocate this number of pointers.
PropertyMapStatisticsExitLogger::~PropertyMapStatisticsExitLogger()
{
- printf("\nKJS::PropertyMap statistics\n\n");
+ printf("\nJSC::PropertyMap statistics\n\n");
printf("%d probes\n", numProbes);
printf("%d collisions (%.1f%%)\n", numCollisions, 100.0 * numCollisions / numProbes);
printf("%d rehashes\n", numRehashes);
#endif // DO_PROPERTYMAP_CONSTENCY_CHECK
-} // namespace KJS
+} // namespace JSC
#include "identifier.h"
#include <wtf/NotFound.h>
-namespace KJS {
+namespace JSC {
class JSObject;
class JSValue;
{
}
-} // namespace KJS
+} // namespace JSC
#endif // PropertyMap_h
#include "config.h"
#include "PropertyNameArray.h"
-namespace KJS {
+namespace JSC {
static const size_t setThreshold = 20;
m_vector.append(Identifier(m_globalData, identifier));
}
-} // namespace KJS
+} // namespace JSC
#include <wtf/HashSet.h>
#include <wtf/Vector.h>
-namespace KJS {
+namespace JSC {
class PropertyNameArray {
public:
JSGlobalData* m_globalData;
};
-} // namespace KJS
+} // namespace JSC
#endif // PropertyNameArray_h
#include "JSGlobalObject.h"
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
JSValue* PropertySlot::functionGetter(ExecState* exec, const Identifier&, const PropertySlot& slot)
{
return static_cast<JSFunction*>(slot.m_data.getterFunc)->call(exec, slot.slotBase(), exec->emptyList());
}
-} // namespace KJS
+} // namespace JSC
#include <wtf/Assertions.h>
#include <wtf/NotFound.h>
-namespace KJS {
+namespace JSC {
class ExecState;
class JSObject;
size_t m_offset;
};
-} // namespace KJS
+} // namespace JSC
#endif // PropertySlot_h
#include "JSGlobalObject.h"
#include <wtf/Assertions.h>
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(PrototypeFunction);
return CallTypeHost;
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
#include "CallData.h"
-namespace KJS {
+namespace JSC {
class PrototypeFunction : public InternalFunction {
public:
const NativeFunction m_function;
};
-} // namespace KJS
+} // namespace JSC
#endif // PrototypeFunction_h
#include <wtf/Assertions.h>
-namespace KJS {
+namespace JSC {
class JSObject;
size_t m_offset;
};
-} // namespace KJS
+} // namespace JSC
#endif // PutPropertySlot_h
#include "RegExpPrototype.h"
#include "regexp.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(RegExpConstructor);
return d->input;
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
#include <wtf/OwnPtr.h>
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
class RegExp;
OwnPtr<RegExpConstructorPrivate> d;
};
-} // namespace KJS
+} // namespace JSC
#endif // RegExpConstructor_h
#include "RegExpConstructor.h"
#include "RegExpPrototype.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(RegExpObject);
return CallTypeHost;
}
-} // namespace KJS
+} // namespace JSC
#include "JSObject.h"
#include "regexp.h"
-namespace KJS {
+namespace JSC {
class RegExpPrototype;
OwnPtr<RegExpObjectData> d;
};
-} // namespace KJS
+} // namespace JSC
#endif // RegExpObject_h
#include "RegExpObject.h"
#include "regexp.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(RegExpPrototype);
return jsNontrivialString(exec, result);
}
-} // namespace KJS
+} // namespace JSC
#include "JSObject.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
class ObjectPrototype;
static const ClassInfo info;
};
-} // namespace KJS
+} // namespace JSC
#endif // RegExpPrototype_h
#include "PropertyNameArray.h"
#include <stdio.h>
-namespace KJS {
+namespace JSC {
#ifndef NDEBUG
#endif
-} // namespace KJS
+} // namespace JSC
#include <wtf/Assertions.h>
-namespace KJS {
+namespace JSC {
class JSGlobalObject;
class JSObject;
return *this;
}
-} // namespace KJS
+} // namespace JSC
#endif // ScopeChain_h
#include "ScopeChain.h"
-namespace KJS {
+namespace JSC {
inline void ScopeChain::mark() const
{
}
}
-} // namespace KJS
+} // namespace JSC
#endif // ScopeChainMark_h
#include <QDateTime>
#endif
-using namespace KJS;
+using namespace JSC;
using namespace WTF;
static bool fillBufferWithContentsOfFile(const UString& fileName, Vector<char>& buffer);
int jscmain(int argc, char** argv, JSGlobalData* globalData)
{
- KJS::initializeThreading();
+ JSC::initializeThreading();
JSLock lock(false);
#include "JSString.h"
-namespace KJS {
+namespace JSC {
class SmallStringsStorage {
public:
#include "ustring.h"
#include <wtf/OwnPtr.h>
-namespace KJS {
+namespace JSC {
class ExecState;
class JSString;
#include "ustring.h"
#include <wtf/RefCounted.h>
-namespace KJS {
+namespace JSC {
class SourceProvider : public RefCounted<SourceProvider> {
public:
UString m_source;
};
-} // namespace KJS
+} // namespace JSC
#endif // SourceProvider_h
#include "SourceProvider.h"
#include <wtf/RefPtr.h>
-namespace KJS {
+namespace JSC {
class SourceRange {
public:
int m_endChar;
};
-} // namespace KJS
+} // namespace JSC
#endif // SourceRange_h
#include "PrototypeFunction.h"
#include "StringPrototype.h"
-namespace KJS {
+namespace JSC {
static NEVER_INLINE JSValue* stringFromCharCodeSlowCase(ExecState* exec, const ArgList& args)
{
return CallTypeHost;
}
-} // namespace KJS
+} // namespace JSC
#include "InternalFunction.h"
-namespace KJS {
+namespace JSC {
class FunctionPrototype;
class StringPrototype;
virtual CallType getCallData(CallData&);
};
-} // namespace KJS
+} // namespace JSC
#endif // StringConstructor_h
#include "PropertyNameArray.h"
-namespace KJS {
+namespace JSC {
ASSERT_CLASS_FITS_IN_CELL(StringObject);
return internalValue();
}
-} // namespace KJS
+} // namespace JSC
#include "JSWrapperObject.h"
#include "JSString.h"
-namespace KJS {
+namespace JSC {
class StringObject : public JSWrapperObject {
public:
virtual JSString* toThisJSString(ExecState*);
};
-} // namespace KJS
+} // namespace JSC
#endif // StringObject_h
#include "StringObject.h"
#include "ustring.h"
-namespace KJS {
+namespace JSC {
// WebCore uses this to make style.filter undetectable
class StringObjectThatMasqueradesAsUndefined : public StringObject {
virtual bool toBoolean(ExecState*) const { return false; }
};
-} // namespace KJS
+} // namespace JSC
#endif // StringObjectThatMasqueradesAsUndefined_h