Changeset 34587 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jun 15, 2008, 10:28:46 PM (17 years ago)
Author:
Darin Adler
Message:

JavaScriptCore:

2008-06-15 Darin Adler <Darin Adler>

  • rename KJS::List to KJS::ArgList
  • API/JSCallbackConstructor.cpp: (KJS::JSCallbackConstructor::construct):
  • API/JSCallbackConstructor.h:
  • API/JSCallbackFunction.cpp: (KJS::JSCallbackFunction::callAsFunction):
  • API/JSCallbackFunction.h:
  • API/JSCallbackObject.h:
  • API/JSCallbackObjectFunctions.h: (KJS::::construct): (KJS::::callAsFunction):
  • API/JSObjectRef.cpp: (JSObjectMakeFunction): (JSObjectCallAsFunction): (JSObjectCallAsConstructor):
  • JavaScriptCore.exp:
  • VM/Machine.cpp: (KJS::Machine::execute): (KJS::Machine::privateExecute):
  • VM/Machine.h:
  • kjs/ArrayPrototype.cpp: (KJS::arrayProtoFuncToString): (KJS::arrayProtoFuncToLocaleString): (KJS::arrayProtoFuncJoin): (KJS::arrayProtoFuncConcat): (KJS::arrayProtoFuncPop): (KJS::arrayProtoFuncPush): (KJS::arrayProtoFuncReverse): (KJS::arrayProtoFuncShift): (KJS::arrayProtoFuncSlice): (KJS::arrayProtoFuncSort): (KJS::arrayProtoFuncSplice): (KJS::arrayProtoFuncUnShift): (KJS::arrayProtoFuncFilter): (KJS::arrayProtoFuncMap): (KJS::arrayProtoFuncEvery): (KJS::arrayProtoFuncForEach): (KJS::arrayProtoFuncSome): (KJS::arrayProtoFuncIndexOf): (KJS::arrayProtoFuncLastIndexOf): (KJS::ArrayConstructor::construct): (KJS::ArrayConstructor::callAsFunction):
  • kjs/ArrayPrototype.h:
  • kjs/BooleanObject.cpp: (KJS::booleanProtoFuncToString): (KJS::booleanProtoFuncValueOf): (KJS::BooleanConstructor::construct): (KJS::BooleanConstructor::callAsFunction):
  • kjs/BooleanObject.h:
  • kjs/CommonIdentifiers.h:
  • kjs/ExecState.h: (KJS::ExecState::emptyList):
  • kjs/FunctionPrototype.cpp: (KJS::FunctionPrototype::callAsFunction): (KJS::functionProtoFuncToString): (KJS::functionProtoFuncApply): (KJS::functionProtoFuncCall): (KJS::FunctionConstructor::construct): (KJS::FunctionConstructor::callAsFunction):
  • kjs/FunctionPrototype.h:
  • kjs/JSActivation.cpp: (KJS::JSActivation::createArgumentsObject):
  • kjs/JSArray.cpp: (KJS::JSArray::JSArray): (KJS::AVLTreeAbstractorForArrayCompare::compare_key_key):
  • kjs/JSArray.h:
  • kjs/JSFunction.cpp: (KJS::JSFunction::callAsFunction): (KJS::JSFunction::construct): (KJS::IndexToNameMap::IndexToNameMap): (KJS::Arguments::Arguments): (KJS::encode): (KJS::decode): (KJS::globalFuncEval): (KJS::globalFuncParseInt): (KJS::globalFuncParseFloat): (KJS::globalFuncIsNaN): (KJS::globalFuncIsFinite): (KJS::globalFuncDecodeURI): (KJS::globalFuncDecodeURIComponent): (KJS::globalFuncEncodeURI): (KJS::globalFuncEncodeURIComponent): (KJS::globalFuncEscape): (KJS::globalFuncUnescape): (KJS::globalFuncKJSPrint): (KJS::PrototypeFunction::callAsFunction): (KJS::PrototypeReflexiveFunction::callAsFunction):
  • kjs/JSFunction.h:
  • kjs/JSGlobalData.h:
  • kjs/JSImmediate.cpp: (KJS::JSImmediate::toObject):
  • kjs/JSNotAnObject.cpp: (KJS::JSNotAnObject::construct): (KJS::JSNotAnObject::callAsFunction):
  • kjs/JSNotAnObject.h:
  • kjs/JSObject.cpp: (KJS::JSObject::put): (KJS::JSObject::construct): (KJS::JSObject::callAsFunction): (KJS::Error::create):
  • kjs/JSObject.h:
  • kjs/MathObject.cpp: (KJS::mathProtoFuncAbs): (KJS::mathProtoFuncACos): (KJS::mathProtoFuncASin): (KJS::mathProtoFuncATan): (KJS::mathProtoFuncATan2): (KJS::mathProtoFuncCeil): (KJS::mathProtoFuncCos): (KJS::mathProtoFuncExp): (KJS::mathProtoFuncFloor): (KJS::mathProtoFuncLog): (KJS::mathProtoFuncMax): (KJS::mathProtoFuncMin): (KJS::mathProtoFuncPow): (KJS::mathProtoFuncRandom): (KJS::mathProtoFuncRound): (KJS::mathProtoFuncSin): (KJS::mathProtoFuncSqrt): (KJS::mathProtoFuncTan):
  • kjs/MathObject.h:
  • kjs/NumberObject.cpp: (KJS::numberProtoFuncToString): (KJS::numberProtoFuncToLocaleString): (KJS::numberProtoFuncValueOf): (KJS::numberProtoFuncToFixed): (KJS::numberProtoFuncToExponential): (KJS::numberProtoFuncToPrecision): (KJS::NumberConstructor::construct): (KJS::NumberConstructor::callAsFunction):
  • kjs/NumberObject.h:
  • kjs/RegExpObject.cpp: (KJS::regExpProtoFuncTest): (KJS::regExpProtoFuncExec): (KJS::regExpProtoFuncCompile): (KJS::regExpProtoFuncToString): (KJS::RegExpObject::match): (KJS::RegExpObject::test): (KJS::RegExpObject::exec): (KJS::RegExpObject::callAsFunction): (KJS::RegExpConstructor::construct): (KJS::RegExpConstructor::callAsFunction):
  • kjs/RegExpObject.h:
  • kjs/Shell.cpp: (functionPrint): (functionDebug): (functionGC): (functionVersion): (functionRun): (functionLoad): (functionReadline): (functionQuit):
  • kjs/collector.cpp: (KJS::Collector::collect):
  • kjs/collector.h: (KJS::Collector::markListSet):
  • kjs/date_object.cpp: (KJS::formatLocaleDate): (KJS::fillStructuresUsingTimeArgs): (KJS::fillStructuresUsingDateArgs): (KJS::DateConstructor::construct): (KJS::DateConstructor::callAsFunction): (KJS::DateFunction::callAsFunction): (KJS::dateProtoFuncToString): (KJS::dateProtoFuncToUTCString): (KJS::dateProtoFuncToDateString): (KJS::dateProtoFuncToTimeString): (KJS::dateProtoFuncToLocaleString): (KJS::dateProtoFuncToLocaleDateString): (KJS::dateProtoFuncToLocaleTimeString): (KJS::dateProtoFuncValueOf): (KJS::dateProtoFuncGetTime): (KJS::dateProtoFuncGetFullYear): (KJS::dateProtoFuncGetUTCFullYear): (KJS::dateProtoFuncToGMTString): (KJS::dateProtoFuncGetMonth): (KJS::dateProtoFuncGetUTCMonth): (KJS::dateProtoFuncGetDate): (KJS::dateProtoFuncGetUTCDate): (KJS::dateProtoFuncGetDay): (KJS::dateProtoFuncGetUTCDay): (KJS::dateProtoFuncGetHours): (KJS::dateProtoFuncGetUTCHours): (KJS::dateProtoFuncGetMinutes): (KJS::dateProtoFuncGetUTCMinutes): (KJS::dateProtoFuncGetSeconds): (KJS::dateProtoFuncGetUTCSeconds): (KJS::dateProtoFuncGetMilliSeconds): (KJS::dateProtoFuncGetUTCMilliseconds): (KJS::dateProtoFuncGetTimezoneOffset): (KJS::dateProtoFuncSetTime): (KJS::setNewValueFromTimeArgs): (KJS::setNewValueFromDateArgs): (KJS::dateProtoFuncSetMilliSeconds): (KJS::dateProtoFuncSetUTCMilliseconds): (KJS::dateProtoFuncSetSeconds): (KJS::dateProtoFuncSetUTCSeconds): (KJS::dateProtoFuncSetMinutes): (KJS::dateProtoFuncSetUTCMinutes): (KJS::dateProtoFuncSetHours): (KJS::dateProtoFuncSetUTCHours): (KJS::dateProtoFuncSetDate): (KJS::dateProtoFuncSetUTCDate): (KJS::dateProtoFuncSetMonth): (KJS::dateProtoFuncSetUTCMonth): (KJS::dateProtoFuncSetFullYear): (KJS::dateProtoFuncSetUTCFullYear): (KJS::dateProtoFuncSetYear): (KJS::dateProtoFuncGetYear):
  • kjs/date_object.h:
  • kjs/debugger.h:
  • kjs/error_object.cpp: (KJS::errorProtoFuncToString): (KJS::ErrorConstructor::construct): (KJS::ErrorConstructor::callAsFunction): (KJS::NativeErrorConstructor::construct): (KJS::NativeErrorConstructor::callAsFunction):
  • kjs/error_object.h:
  • kjs/internal.cpp: (KJS::JSNumberCell::toObject): (KJS::JSNumberCell::toThisObject):
  • kjs/list.cpp: (KJS::ArgList::getSlice): (KJS::ArgList::markLists): (KJS::ArgList::slowAppend):
  • kjs/list.h: (KJS::ArgList::ArgList): (KJS::ArgList::~ArgList):
  • kjs/object_object.cpp: (KJS::objectProtoFuncValueOf): (KJS::objectProtoFuncHasOwnProperty): (KJS::objectProtoFuncIsPrototypeOf): (KJS::objectProtoFuncDefineGetter): (KJS::objectProtoFuncDefineSetter): (KJS::objectProtoFuncLookupGetter): (KJS::objectProtoFuncLookupSetter): (KJS::objectProtoFuncPropertyIsEnumerable): (KJS::objectProtoFuncToLocaleString): (KJS::objectProtoFuncToString): (KJS::ObjectConstructor::construct): (KJS::ObjectConstructor::callAsFunction):
  • kjs/object_object.h:
  • kjs/string_object.cpp: (KJS::replace): (KJS::stringProtoFuncToString): (KJS::stringProtoFuncValueOf): (KJS::stringProtoFuncCharAt): (KJS::stringProtoFuncCharCodeAt): (KJS::stringProtoFuncConcat): (KJS::stringProtoFuncIndexOf): (KJS::stringProtoFuncLastIndexOf): (KJS::stringProtoFuncMatch): (KJS::stringProtoFuncSearch): (KJS::stringProtoFuncReplace): (KJS::stringProtoFuncSlice): (KJS::stringProtoFuncSplit): (KJS::stringProtoFuncSubstr): (KJS::stringProtoFuncSubstring): (KJS::stringProtoFuncToLowerCase): (KJS::stringProtoFuncToUpperCase): (KJS::stringProtoFuncToLocaleLowerCase): (KJS::stringProtoFuncToLocaleUpperCase): (KJS::stringProtoFuncLocaleCompare): (KJS::stringProtoFuncBig): (KJS::stringProtoFuncSmall): (KJS::stringProtoFuncBlink): (KJS::stringProtoFuncBold): (KJS::stringProtoFuncFixed): (KJS::stringProtoFuncItalics): (KJS::stringProtoFuncStrike): (KJS::stringProtoFuncSub): (KJS::stringProtoFuncSup): (KJS::stringProtoFuncFontcolor): (KJS::stringProtoFuncFontsize): (KJS::stringProtoFuncAnchor): (KJS::stringProtoFuncLink): (KJS::StringConstructor::construct): (KJS::StringConstructor::callAsFunction): (KJS::StringConstructorFunction::callAsFunction):
  • kjs/string_object.h:

JavaScriptGlue:

2008-06-15 Darin Adler <Darin Adler>

  • rename KJS::List to KJS::ArgList
  • JSValueWrapper.cpp: (JSValueWrapper::JSObjectCallFunction):
  • UserObjectImp.cpp: (UserObjectImp::callAsFunction):
  • UserObjectImp.h:

WebCore:

2008-06-15 Darin Adler <Darin Adler>

  • try to fix Qt build
  • dom/XMLTokenizer.cpp: Use create instead of new.
  • rename KJS::List to KJS::ArgList
  • bindings/js/JSAudioConstructor.cpp: (WebCore::JSAudioConstructor::construct):
  • bindings/js/JSAudioConstructor.h:
  • bindings/js/JSCanvasRenderingContext2DCustom.cpp: (WebCore::JSCanvasRenderingContext2D::setFillColor): (WebCore::JSCanvasRenderingContext2D::setStrokeColor): (WebCore::JSCanvasRenderingContext2D::strokeRect): (WebCore::JSCanvasRenderingContext2D::drawImage): (WebCore::JSCanvasRenderingContext2D::drawImageFromRect): (WebCore::JSCanvasRenderingContext2D::setShadow): (WebCore::JSCanvasRenderingContext2D::createPattern): (WebCore::JSCanvasRenderingContext2D::putImageData):
  • bindings/js/JSClipboardCustom.cpp: (WebCore::JSClipboard::types): (WebCore::JSClipboard::clearData): (WebCore::JSClipboard::getData): (WebCore::JSClipboard::setData): (WebCore::JSClipboard::setDragImage):
  • bindings/js/JSConsoleCustom.cpp: (WebCore::JSConsole::debug): (WebCore::JSConsole::error): (WebCore::JSConsole::info): (WebCore::JSConsole::log): (WebCore::JSConsole::warn): (WebCore::JSConsole::assertCondition): (WebCore::JSConsole::profile): (WebCore::JSConsole::profileEnd):
  • bindings/js/JSCustomSQLStatementCallback.cpp: (WebCore::JSCustomSQLStatementCallback::handleEvent):
  • bindings/js/JSCustomSQLStatementErrorCallback.cpp: (WebCore::JSCustomSQLStatementErrorCallback::handleEvent):
  • bindings/js/JSCustomSQLTransactionCallback.cpp: (WebCore::JSCustomSQLTransactionCallback::handleEvent):
  • bindings/js/JSCustomSQLTransactionErrorCallback.cpp: (WebCore::JSCustomSQLTransactionErrorCallback::handleEvent):
  • bindings/js/JSCustomVoidCallback.cpp: (WebCore::JSCustomVoidCallback::handleEvent):
  • bindings/js/JSCustomXPathNSResolver.cpp: (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
  • bindings/js/JSDOMApplicationCacheCustom.cpp: (WebCore::JSDOMApplicationCache::add): (WebCore::JSDOMApplicationCache::remove): (WebCore::JSDOMApplicationCache::addEventListener): (WebCore::JSDOMApplicationCache::removeEventListener): (WebCore::JSDOMApplicationCache::dispatchEvent):
  • bindings/js/JSDOMWindowBase.cpp: (WebCore::windowProtoFuncAToB): (WebCore::windowProtoFuncBToA): (WebCore::windowProtoFuncOpen): (WebCore::windowProtoFuncSetTimeout): (WebCore::windowProtoFuncClearTimeout): (WebCore::windowProtoFuncSetInterval): (WebCore::windowProtoFuncAddEventListener): (WebCore::windowProtoFuncRemoveEventListener): (WebCore::windowProtoFuncShowModalDialog): (WebCore::windowProtoFuncNotImplemented): (WebCore::JSDOMWindowBase::installTimeout):
  • bindings/js/JSDOMWindowBase.h:
  • bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::postMessage):
  • bindings/js/JSDatabaseCustom.cpp: (WebCore::JSDatabase::changeVersion): (WebCore::JSDatabase::transaction):
  • bindings/js/JSElementCustom.cpp: (WebCore::JSElement::setAttribute): (WebCore::JSElement::setAttributeNode): (WebCore::JSElement::setAttributeNS): (WebCore::JSElement::setAttributeNodeNS):
  • bindings/js/JSEventTargetBase.cpp: (WebCore::jsEventTargetAddEventListener): (WebCore::jsEventTargetRemoveEventListener): (WebCore::jsEventTargetDispatchEvent):
  • bindings/js/JSEventTargetBase.h:
  • bindings/js/JSHTMLAppletElementCustom.cpp: (WebCore::JSHTMLAppletElement::callAsFunction):
  • bindings/js/JSHTMLCollectionCustom.cpp: (WebCore::JSHTMLCollection::callAsFunction): (WebCore::JSHTMLCollection::item): (WebCore::JSHTMLCollection::namedItem):
  • bindings/js/JSHTMLDocumentCustom.cpp: (WebCore::JSHTMLDocument::open): (WebCore::writeHelper): (WebCore::JSHTMLDocument::write): (WebCore::JSHTMLDocument::writeln):
  • bindings/js/JSHTMLEmbedElementCustom.cpp: (WebCore::JSHTMLEmbedElement::callAsFunction):
  • bindings/js/JSHTMLInputElementBase.cpp: (WebCore::jsHTMLInputElementBaseFunctionSetSelectionRange):
  • bindings/js/JSHTMLInputElementBase.h:
  • bindings/js/JSHTMLObjectElementCustom.cpp: (WebCore::JSHTMLObjectElement::callAsFunction):
  • bindings/js/JSHTMLOptionElementConstructor.cpp: (WebCore::JSHTMLOptionElementConstructor::construct):
  • bindings/js/JSHTMLOptionElementConstructor.h:
  • bindings/js/JSHTMLOptionsCollectionCustom.cpp: (WebCore::JSHTMLOptionsCollection::add): (WebCore::JSHTMLOptionsCollection::remove):
  • bindings/js/JSHTMLSelectElementCustom.cpp: (WebCore::JSHTMLSelectElement::remove):
  • bindings/js/JSImageConstructor.cpp: (WebCore::JSImageConstructor::construct):
  • bindings/js/JSImageConstructor.h:
  • bindings/js/JSJavaScriptCallFrameCustom.cpp: (WebCore::JSJavaScriptCallFrame::evaluate): (WebCore::JSJavaScriptCallFrame::scopeChain):
  • bindings/js/JSLocationCustom.cpp: (WebCore::JSLocation::replace): (WebCore::JSLocation::reload): (WebCore::JSLocation::assign): (WebCore::JSLocation::toString):
  • bindings/js/JSNodeCustom.cpp: (WebCore::JSNode::insertBefore): (WebCore::JSNode::replaceChild): (WebCore::JSNode::removeChild): (WebCore::JSNode::appendChild):
  • bindings/js/JSNodeFilterCondition.cpp: (WebCore::JSNodeFilterCondition::acceptNode):
  • bindings/js/JSNodeFilterCustom.cpp: (WebCore::JSNodeFilter::acceptNode):
  • bindings/js/JSNodeIteratorCustom.cpp: (WebCore::JSNodeIterator::nextNode): (WebCore::JSNodeIterator::previousNode):
  • bindings/js/JSNodeListCustom.cpp: (WebCore::JSNodeList::callAsFunction):
  • bindings/js/JSQuarantinedObjectWrapper.cpp: (WebCore::JSQuarantinedObjectWrapper::construct): (WebCore::JSQuarantinedObjectWrapper::callAsFunction):
  • bindings/js/JSQuarantinedObjectWrapper.h:
  • bindings/js/JSSQLResultSetRowListCustom.cpp: (WebCore::JSSQLResultSetRowList::item):
  • bindings/js/JSSQLTransactionCustom.cpp: (WebCore::JSSQLTransaction::executeSql):
  • bindings/js/JSSVGMatrixCustom.cpp: (WebCore::JSSVGMatrix::multiply): (WebCore::JSSVGMatrix::inverse): (WebCore::JSSVGMatrix::translate): (WebCore::JSSVGMatrix::scale): (WebCore::JSSVGMatrix::scaleNonUniform): (WebCore::JSSVGMatrix::rotate): (WebCore::JSSVGMatrix::rotateFromVector): (WebCore::JSSVGMatrix::flipX): (WebCore::JSSVGMatrix::flipY): (WebCore::JSSVGMatrix::skewX): (WebCore::JSSVGMatrix::skewY):
  • bindings/js/JSSVGPathSegListCustom.cpp: (WebCore::JSSVGPathSegList::clear): (WebCore::JSSVGPathSegList::initialize): (WebCore::JSSVGPathSegList::getItem): (WebCore::JSSVGPathSegList::insertItemBefore): (WebCore::JSSVGPathSegList::replaceItem): (WebCore::JSSVGPathSegList::removeItem): (WebCore::JSSVGPathSegList::appendItem):
  • bindings/js/JSSVGPointListCustom.cpp: (WebCore::JSSVGPointList::clear): (WebCore::JSSVGPointList::initialize): (WebCore::JSSVGPointList::getItem): (WebCore::JSSVGPointList::insertItemBefore): (WebCore::JSSVGPointList::replaceItem): (WebCore::JSSVGPointList::removeItem): (WebCore::JSSVGPointList::appendItem):
  • bindings/js/JSSVGTransformListCustom.cpp: (WebCore::JSSVGTransformList::clear): (WebCore::JSSVGTransformList::initialize): (WebCore::JSSVGTransformList::getItem): (WebCore::JSSVGTransformList::insertItemBefore): (WebCore::JSSVGTransformList::replaceItem): (WebCore::JSSVGTransformList::removeItem): (WebCore::JSSVGTransformList::appendItem):
  • bindings/js/JSTreeWalkerCustom.cpp: (WebCore::JSTreeWalker::parentNode): (WebCore::JSTreeWalker::firstChild): (WebCore::JSTreeWalker::lastChild): (WebCore::JSTreeWalker::nextSibling): (WebCore::JSTreeWalker::previousSibling): (WebCore::JSTreeWalker::previousNode): (WebCore::JSTreeWalker::nextNode):
  • bindings/js/JSXMLHttpRequestConstructor.cpp: (WebCore::JSXMLHttpRequestConstructor::construct):
  • bindings/js/JSXMLHttpRequestConstructor.h:
  • bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::open): (WebCore::JSXMLHttpRequest::setRequestHeader): (WebCore::JSXMLHttpRequest::send): (WebCore::JSXMLHttpRequest::getResponseHeader): (WebCore::JSXMLHttpRequest::overrideMimeType): (WebCore::JSXMLHttpRequest::addEventListener): (WebCore::JSXMLHttpRequest::removeEventListener): (WebCore::JSXMLHttpRequest::dispatchEvent):
  • bindings/js/JSXSLTProcessorConstructor.cpp: (WebCore::JSXSLTProcessorConstructor::construct):
  • bindings/js/JSXSLTProcessorConstructor.h:
  • bindings/js/JSXSLTProcessorCustom.cpp: (WebCore::JSXSLTProcessor::importStylesheet): (WebCore::JSXSLTProcessor::transformToFragment): (WebCore::JSXSLTProcessor::transformToDocument): (WebCore::JSXSLTProcessor::setParameter): (WebCore::JSXSLTProcessor::getParameter): (WebCore::JSXSLTProcessor::removeParameter):
  • bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::ScheduledAction): (WebCore::ScheduledAction::execute):
  • bindings/js/ScheduledAction.h:
  • bindings/js/kjs_events.cpp: (WebCore::JSAbstractEventListener::handleEvent): (WebCore::JSLazyEventListener::parseCode):
  • bindings/js/kjs_html.cpp: (WebCore::runtimeObjectCallAsFunction):
  • bindings/js/kjs_html.h:
  • bindings/objc/WebScriptObject.mm: (getListFromNSArray): (-[WebScriptObject callWebScriptMethod:withArguments:]):
  • bindings/scripts/CodeGeneratorJS.pm:
  • bridge/NP_jsobject.cpp: (getListFromVariantArgs): (_NPN_InvokeDefault): (_NPN_Invoke):
  • bridge/c/c_instance.cpp: (KJS::Bindings::CInstance::invokeMethod): (KJS::Bindings::CInstance::invokeDefaultMethod):
  • bridge/c/c_instance.h:
  • bridge/jni/jni_instance.cpp: (JavaInstance::invokeMethod):
  • bridge/jni/jni_instance.h:
  • bridge/jni/jni_jsobject.h:
  • bridge/jni/jni_jsobject.mm: (JavaJSObject::call): (JavaJSObject::getListFromJArray):
  • bridge/objc/objc_instance.h:
  • bridge/objc/objc_instance.mm: (ObjcInstance::invokeMethod): (ObjcInstance::invokeDefaultMethod):
  • bridge/objc/objc_runtime.h:
  • bridge/objc/objc_runtime.mm: (ObjcFallbackObjectImp::callAsFunction):
  • bridge/qt/qt_instance.cpp: (KJS::Bindings::QtRuntimeObjectImp::construct): (KJS::Bindings::QtInstance::invokeMethod): (KJS::Bindings::QtInstance::invokeDefaultMethod):
  • bridge/qt/qt_instance.h:
  • bridge/qt/qt_runtime.cpp: (KJS::Bindings::convertQVariantToValue): (KJS::Bindings::findMethodIndex): (KJS::Bindings::QtRuntimeMetaMethod::callAsFunction): (KJS::Bindings::QtRuntimeConnectionMethod::callAsFunction): (KJS::Bindings::QtConnectionObject::execute):
  • bridge/qt/qt_runtime.h:
  • bridge/runtime.h: (KJS::Bindings::Instance::invokeDefaultMethod):
  • bridge/runtime_method.cpp: (RuntimeMethod::callAsFunction):
  • bridge/runtime_method.h:
  • bridge/runtime_object.cpp: (RuntimeObjectImp::callAsFunction):
  • bridge/runtime_object.h:
  • page/Console.cpp: (WebCore::printToStandardOut): (WebCore::Console::debug): (WebCore::Console::error): (WebCore::Console::info): (WebCore::Console::log): (WebCore::Console::assertCondition): (WebCore::Console::profile): (WebCore::Console::profileEnd): (WebCore::Console::warn):
  • page/Console.h:
  • page/InspectorController.cpp: (WebCore::ConsoleMessage::ConsoleMessage): (WebCore::InspectorController::addMessageToConsole):
  • page/InspectorController.h:

WebKit/mac:

2008-06-15 Darin Adler <Darin Adler>

  • rename KJS::List to KJS::ArgList
  • WebView/WebScriptDebugger.h:

WebKit/win:

2008-06-15 Darin Adler <Darin Adler>

  • rename KJS::List to KJS::ArgList
  • WebScriptCallFrame.cpp: (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):

WebKitTools:

2008-06-15 Darin Adler <Darin Adler>

  • Scripts/do-webcore-rename: Updated for the latest round of renaming.
Location:
trunk/JavaScriptCore
Files:
51 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSCallbackConstructor.cpp

    r33979 r34587  
    6262}
    6363
    64 JSObject* JSCallbackConstructor::construct(ExecState* exec, const List &args)
     64JSObject* JSCallbackConstructor::construct(ExecState* exec, const ArgList &args)
    6565{
    6666    JSContextRef ctx = toRef(exec);
  • trunk/JavaScriptCore/API/JSCallbackConstructor.h

    r34581 r34587  
    4141   
    4242    virtual ConstructType getConstructData(ConstructData&);
    43     virtual JSObject* construct(ExecState*, const List& args);
     43    virtual JSObject* construct(ExecState*, const ArgList& args);
    4444   
    4545    virtual const ClassInfo *classInfo() const { return &info; }
  • trunk/JavaScriptCore/API/JSCallbackFunction.cpp

    r34582 r34587  
    5151}
    5252
    53 JSValue* JSCallbackFunction::callAsFunction(ExecState* exec, JSObject* thisObj, const List &args)
     53JSValue* JSCallbackFunction::callAsFunction(ExecState* exec, JSObject* thisObj, const ArgList &args)
    5454{
    5555    JSContextRef execRef = toRef(exec);
  • trunk/JavaScriptCore/API/JSCallbackFunction.h

    r34581 r34587  
    4040
    4141    virtual bool implementsHasInstance() const;
    42     virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const List &args);
     42    virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const ArgList &args);
    4343
    4444    virtual const ClassInfo *classInfo() const { return &info; }
  • trunk/JavaScriptCore/API/JSCallbackObject.h

    r34581 r34587  
    5555
    5656    virtual ConstructType getConstructData(ConstructData&);
    57     virtual JSObject* construct(ExecState*, const List& args);
     57    virtual JSObject* construct(ExecState*, const ArgList& args);
    5858
    5959    virtual bool implementsHasInstance() const;
     
    6161
    6262    virtual CallType getCallData(CallData&);
    63     virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const List &args);
     63    virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const ArgList &args);
    6464
    6565    virtual void getPropertyNames(ExecState*, PropertyNameArray&);
  • trunk/JavaScriptCore/API/JSCallbackObjectFunctions.h

    r34581 r34587  
    248248
    249249template <class Base>
    250 JSObject* JSCallbackObject<Base>::construct(ExecState* exec, const List& args)
     250JSObject* JSCallbackObject<Base>::construct(ExecState* exec, const ArgList& args)
    251251{
    252252    JSContextRef execRef = toRef(exec);
     
    305305
    306306template <class Base>
    307 JSValue* JSCallbackObject<Base>::callAsFunction(ExecState* exec, JSObject* thisObj, const List &args)
     307JSValue* JSCallbackObject<Base>::callAsFunction(ExecState* exec, JSObject* thisObj, const ArgList &args)
    308308{
    309309    JSContextRef execRef = toRef(exec);
  • trunk/JavaScriptCore/API/JSObjectRef.cpp

    r34582 r34587  
    117117    Identifier nameID = name ? Identifier(toJS(name)) : Identifier("anonymous");
    118118   
    119     List args;
     119    ArgList args;
    120120    for (unsigned i = 0; i < parameterCount; i++)
    121121        args.append(jsString(UString(toJS(parameterNames[i]))));
     
    282282        jsThisObject = exec->globalThisValue();
    283283
    284     List argList;
     284    ArgList argList;
    285285    for (size_t i = 0; i < argumentCount; i++)
    286286        argList.append(toJS(arguments[i]));
     
    309309    JSObject* jsObject = toJS(object);
    310310   
    311     List argList;
     311    ArgList argList;
    312312    for (size_t i = 0; i < argumentCount; i++)
    313313        argList.append(toJS(arguments[i]));
  • trunk/JavaScriptCore/ChangeLog

    r34582 r34587  
     12008-06-15  Darin Adler  <[email protected]>
     2
     3        - rename KJS::List to KJS::ArgList
     4
     5        * API/JSCallbackConstructor.cpp:
     6        (KJS::JSCallbackConstructor::construct):
     7        * API/JSCallbackConstructor.h:
     8        * API/JSCallbackFunction.cpp:
     9        (KJS::JSCallbackFunction::callAsFunction):
     10        * API/JSCallbackFunction.h:
     11        * API/JSCallbackObject.h:
     12        * API/JSCallbackObjectFunctions.h:
     13        (KJS::::construct):
     14        (KJS::::callAsFunction):
     15        * API/JSObjectRef.cpp:
     16        (JSObjectMakeFunction):
     17        (JSObjectCallAsFunction):
     18        (JSObjectCallAsConstructor):
     19        * JavaScriptCore.exp:
     20        * VM/Machine.cpp:
     21        (KJS::Machine::execute):
     22        (KJS::Machine::privateExecute):
     23        * VM/Machine.h:
     24        * kjs/ArrayPrototype.cpp:
     25        (KJS::arrayProtoFuncToString):
     26        (KJS::arrayProtoFuncToLocaleString):
     27        (KJS::arrayProtoFuncJoin):
     28        (KJS::arrayProtoFuncConcat):
     29        (KJS::arrayProtoFuncPop):
     30        (KJS::arrayProtoFuncPush):
     31        (KJS::arrayProtoFuncReverse):
     32        (KJS::arrayProtoFuncShift):
     33        (KJS::arrayProtoFuncSlice):
     34        (KJS::arrayProtoFuncSort):
     35        (KJS::arrayProtoFuncSplice):
     36        (KJS::arrayProtoFuncUnShift):
     37        (KJS::arrayProtoFuncFilter):
     38        (KJS::arrayProtoFuncMap):
     39        (KJS::arrayProtoFuncEvery):
     40        (KJS::arrayProtoFuncForEach):
     41        (KJS::arrayProtoFuncSome):
     42        (KJS::arrayProtoFuncIndexOf):
     43        (KJS::arrayProtoFuncLastIndexOf):
     44        (KJS::ArrayConstructor::construct):
     45        (KJS::ArrayConstructor::callAsFunction):
     46        * kjs/ArrayPrototype.h:
     47        * kjs/BooleanObject.cpp:
     48        (KJS::booleanProtoFuncToString):
     49        (KJS::booleanProtoFuncValueOf):
     50        (KJS::BooleanConstructor::construct):
     51        (KJS::BooleanConstructor::callAsFunction):
     52        * kjs/BooleanObject.h:
     53        * kjs/CommonIdentifiers.h:
     54        * kjs/ExecState.h:
     55        (KJS::ExecState::emptyList):
     56        * kjs/FunctionPrototype.cpp:
     57        (KJS::FunctionPrototype::callAsFunction):
     58        (KJS::functionProtoFuncToString):
     59        (KJS::functionProtoFuncApply):
     60        (KJS::functionProtoFuncCall):
     61        (KJS::FunctionConstructor::construct):
     62        (KJS::FunctionConstructor::callAsFunction):
     63        * kjs/FunctionPrototype.h:
     64        * kjs/JSActivation.cpp:
     65        (KJS::JSActivation::createArgumentsObject):
     66        * kjs/JSArray.cpp:
     67        (KJS::JSArray::JSArray):
     68        (KJS::AVLTreeAbstractorForArrayCompare::compare_key_key):
     69        * kjs/JSArray.h:
     70        * kjs/JSFunction.cpp:
     71        (KJS::JSFunction::callAsFunction):
     72        (KJS::JSFunction::construct):
     73        (KJS::IndexToNameMap::IndexToNameMap):
     74        (KJS::Arguments::Arguments):
     75        (KJS::encode):
     76        (KJS::decode):
     77        (KJS::globalFuncEval):
     78        (KJS::globalFuncParseInt):
     79        (KJS::globalFuncParseFloat):
     80        (KJS::globalFuncIsNaN):
     81        (KJS::globalFuncIsFinite):
     82        (KJS::globalFuncDecodeURI):
     83        (KJS::globalFuncDecodeURIComponent):
     84        (KJS::globalFuncEncodeURI):
     85        (KJS::globalFuncEncodeURIComponent):
     86        (KJS::globalFuncEscape):
     87        (KJS::globalFuncUnescape):
     88        (KJS::globalFuncKJSPrint):
     89        (KJS::PrototypeFunction::callAsFunction):
     90        (KJS::PrototypeReflexiveFunction::callAsFunction):
     91        * kjs/JSFunction.h:
     92        * kjs/JSGlobalData.h:
     93        * kjs/JSImmediate.cpp:
     94        (KJS::JSImmediate::toObject):
     95        * kjs/JSNotAnObject.cpp:
     96        (KJS::JSNotAnObject::construct):
     97        (KJS::JSNotAnObject::callAsFunction):
     98        * kjs/JSNotAnObject.h:
     99        * kjs/JSObject.cpp:
     100        (KJS::JSObject::put):
     101        (KJS::JSObject::construct):
     102        (KJS::JSObject::callAsFunction):
     103        (KJS::Error::create):
     104        * kjs/JSObject.h:
     105        * kjs/MathObject.cpp:
     106        (KJS::mathProtoFuncAbs):
     107        (KJS::mathProtoFuncACos):
     108        (KJS::mathProtoFuncASin):
     109        (KJS::mathProtoFuncATan):
     110        (KJS::mathProtoFuncATan2):
     111        (KJS::mathProtoFuncCeil):
     112        (KJS::mathProtoFuncCos):
     113        (KJS::mathProtoFuncExp):
     114        (KJS::mathProtoFuncFloor):
     115        (KJS::mathProtoFuncLog):
     116        (KJS::mathProtoFuncMax):
     117        (KJS::mathProtoFuncMin):
     118        (KJS::mathProtoFuncPow):
     119        (KJS::mathProtoFuncRandom):
     120        (KJS::mathProtoFuncRound):
     121        (KJS::mathProtoFuncSin):
     122        (KJS::mathProtoFuncSqrt):
     123        (KJS::mathProtoFuncTan):
     124        * kjs/MathObject.h:
     125        * kjs/NumberObject.cpp:
     126        (KJS::numberProtoFuncToString):
     127        (KJS::numberProtoFuncToLocaleString):
     128        (KJS::numberProtoFuncValueOf):
     129        (KJS::numberProtoFuncToFixed):
     130        (KJS::numberProtoFuncToExponential):
     131        (KJS::numberProtoFuncToPrecision):
     132        (KJS::NumberConstructor::construct):
     133        (KJS::NumberConstructor::callAsFunction):
     134        * kjs/NumberObject.h:
     135        * kjs/RegExpObject.cpp:
     136        (KJS::regExpProtoFuncTest):
     137        (KJS::regExpProtoFuncExec):
     138        (KJS::regExpProtoFuncCompile):
     139        (KJS::regExpProtoFuncToString):
     140        (KJS::RegExpObject::match):
     141        (KJS::RegExpObject::test):
     142        (KJS::RegExpObject::exec):
     143        (KJS::RegExpObject::callAsFunction):
     144        (KJS::RegExpConstructor::construct):
     145        (KJS::RegExpConstructor::callAsFunction):
     146        * kjs/RegExpObject.h:
     147        * kjs/Shell.cpp:
     148        (functionPrint):
     149        (functionDebug):
     150        (functionGC):
     151        (functionVersion):
     152        (functionRun):
     153        (functionLoad):
     154        (functionReadline):
     155        (functionQuit):
     156        * kjs/collector.cpp:
     157        (KJS::Collector::collect):
     158        * kjs/collector.h:
     159        (KJS::Collector::markListSet):
     160        * kjs/date_object.cpp:
     161        (KJS::formatLocaleDate):
     162        (KJS::fillStructuresUsingTimeArgs):
     163        (KJS::fillStructuresUsingDateArgs):
     164        (KJS::DateConstructor::construct):
     165        (KJS::DateConstructor::callAsFunction):
     166        (KJS::DateFunction::callAsFunction):
     167        (KJS::dateProtoFuncToString):
     168        (KJS::dateProtoFuncToUTCString):
     169        (KJS::dateProtoFuncToDateString):
     170        (KJS::dateProtoFuncToTimeString):
     171        (KJS::dateProtoFuncToLocaleString):
     172        (KJS::dateProtoFuncToLocaleDateString):
     173        (KJS::dateProtoFuncToLocaleTimeString):
     174        (KJS::dateProtoFuncValueOf):
     175        (KJS::dateProtoFuncGetTime):
     176        (KJS::dateProtoFuncGetFullYear):
     177        (KJS::dateProtoFuncGetUTCFullYear):
     178        (KJS::dateProtoFuncToGMTString):
     179        (KJS::dateProtoFuncGetMonth):
     180        (KJS::dateProtoFuncGetUTCMonth):
     181        (KJS::dateProtoFuncGetDate):
     182        (KJS::dateProtoFuncGetUTCDate):
     183        (KJS::dateProtoFuncGetDay):
     184        (KJS::dateProtoFuncGetUTCDay):
     185        (KJS::dateProtoFuncGetHours):
     186        (KJS::dateProtoFuncGetUTCHours):
     187        (KJS::dateProtoFuncGetMinutes):
     188        (KJS::dateProtoFuncGetUTCMinutes):
     189        (KJS::dateProtoFuncGetSeconds):
     190        (KJS::dateProtoFuncGetUTCSeconds):
     191        (KJS::dateProtoFuncGetMilliSeconds):
     192        (KJS::dateProtoFuncGetUTCMilliseconds):
     193        (KJS::dateProtoFuncGetTimezoneOffset):
     194        (KJS::dateProtoFuncSetTime):
     195        (KJS::setNewValueFromTimeArgs):
     196        (KJS::setNewValueFromDateArgs):
     197        (KJS::dateProtoFuncSetMilliSeconds):
     198        (KJS::dateProtoFuncSetUTCMilliseconds):
     199        (KJS::dateProtoFuncSetSeconds):
     200        (KJS::dateProtoFuncSetUTCSeconds):
     201        (KJS::dateProtoFuncSetMinutes):
     202        (KJS::dateProtoFuncSetUTCMinutes):
     203        (KJS::dateProtoFuncSetHours):
     204        (KJS::dateProtoFuncSetUTCHours):
     205        (KJS::dateProtoFuncSetDate):
     206        (KJS::dateProtoFuncSetUTCDate):
     207        (KJS::dateProtoFuncSetMonth):
     208        (KJS::dateProtoFuncSetUTCMonth):
     209        (KJS::dateProtoFuncSetFullYear):
     210        (KJS::dateProtoFuncSetUTCFullYear):
     211        (KJS::dateProtoFuncSetYear):
     212        (KJS::dateProtoFuncGetYear):
     213        * kjs/date_object.h:
     214        * kjs/debugger.h:
     215        * kjs/error_object.cpp:
     216        (KJS::errorProtoFuncToString):
     217        (KJS::ErrorConstructor::construct):
     218        (KJS::ErrorConstructor::callAsFunction):
     219        (KJS::NativeErrorConstructor::construct):
     220        (KJS::NativeErrorConstructor::callAsFunction):
     221        * kjs/error_object.h:
     222        * kjs/internal.cpp:
     223        (KJS::JSNumberCell::toObject):
     224        (KJS::JSNumberCell::toThisObject):
     225        * kjs/list.cpp:
     226        (KJS::ArgList::getSlice):
     227        (KJS::ArgList::markLists):
     228        (KJS::ArgList::slowAppend):
     229        * kjs/list.h:
     230        (KJS::ArgList::ArgList):
     231        (KJS::ArgList::~ArgList):
     232        * kjs/object_object.cpp:
     233        (KJS::objectProtoFuncValueOf):
     234        (KJS::objectProtoFuncHasOwnProperty):
     235        (KJS::objectProtoFuncIsPrototypeOf):
     236        (KJS::objectProtoFuncDefineGetter):
     237        (KJS::objectProtoFuncDefineSetter):
     238        (KJS::objectProtoFuncLookupGetter):
     239        (KJS::objectProtoFuncLookupSetter):
     240        (KJS::objectProtoFuncPropertyIsEnumerable):
     241        (KJS::objectProtoFuncToLocaleString):
     242        (KJS::objectProtoFuncToString):
     243        (KJS::ObjectConstructor::construct):
     244        (KJS::ObjectConstructor::callAsFunction):
     245        * kjs/object_object.h:
     246        * kjs/string_object.cpp:
     247        (KJS::replace):
     248        (KJS::stringProtoFuncToString):
     249        (KJS::stringProtoFuncValueOf):
     250        (KJS::stringProtoFuncCharAt):
     251        (KJS::stringProtoFuncCharCodeAt):
     252        (KJS::stringProtoFuncConcat):
     253        (KJS::stringProtoFuncIndexOf):
     254        (KJS::stringProtoFuncLastIndexOf):
     255        (KJS::stringProtoFuncMatch):
     256        (KJS::stringProtoFuncSearch):
     257        (KJS::stringProtoFuncReplace):
     258        (KJS::stringProtoFuncSlice):
     259        (KJS::stringProtoFuncSplit):
     260        (KJS::stringProtoFuncSubstr):
     261        (KJS::stringProtoFuncSubstring):
     262        (KJS::stringProtoFuncToLowerCase):
     263        (KJS::stringProtoFuncToUpperCase):
     264        (KJS::stringProtoFuncToLocaleLowerCase):
     265        (KJS::stringProtoFuncToLocaleUpperCase):
     266        (KJS::stringProtoFuncLocaleCompare):
     267        (KJS::stringProtoFuncBig):
     268        (KJS::stringProtoFuncSmall):
     269        (KJS::stringProtoFuncBlink):
     270        (KJS::stringProtoFuncBold):
     271        (KJS::stringProtoFuncFixed):
     272        (KJS::stringProtoFuncItalics):
     273        (KJS::stringProtoFuncStrike):
     274        (KJS::stringProtoFuncSub):
     275        (KJS::stringProtoFuncSup):
     276        (KJS::stringProtoFuncFontcolor):
     277        (KJS::stringProtoFuncFontsize):
     278        (KJS::stringProtoFuncAnchor):
     279        (KJS::stringProtoFuncLink):
     280        (KJS::StringConstructor::construct):
     281        (KJS::StringConstructor::callAsFunction):
     282        (KJS::StringConstructorFunction::callAsFunction):
     283        * kjs/string_object.h:
     284
    12852008-06-15  Darin Adler  <[email protected]>
    2286
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r34582 r34587  
    130130__ZN3KJS16ParserRefCounted5derefEv
    131131__ZN3KJS17PropertyNameArray3addEPNS_7UString3RepE
    132 __ZN3KJS17PrototypeFunctionC1EPNS_9ExecStateEPNS_17FunctionPrototypeEiRKNS_10IdentifierEPFPNS_7JSValueES2_PNS_8JSObjectERKNS_4ListEE
    133 __ZN3KJS17PrototypeFunctionC1EPNS_9ExecStateEiRKNS_10IdentifierEPFPNS_7JSValueES2_PNS_8JSObjectERKNS_4ListEE
     132__ZN3KJS17PrototypeFunctionC1EPNS_9ExecStateEPNS_17FunctionPrototypeEiRKNS_10IdentifierEPFPNS_7JSValueES2_PNS_8JSObjectERKNS_7ArgListEE
     133__ZN3KJS17PrototypeFunctionC1EPNS_9ExecStateEiRKNS_10IdentifierEPFPNS_7JSValueES2_PNS_8JSObjectERKNS_7ArgListEE
    134134__ZN3KJS17RegisterFileStack20allocateRegisterFileEmPS0_
    135135__ZN3KJS19initializeThreadingEv
    136 __ZN3KJS23objectProtoFuncToStringEPNS_9ExecStateEPNS_8JSObjectERKNS_4ListE
    137 __ZN3KJS4List10slowAppendEPNS_7JSValueE
     136__ZN3KJS23objectProtoFuncToStringEPNS_9ExecStateEPNS_8JSObjectERKNS_7ArgListE
    138137__ZN3KJS5equalEPKNS_7UString3RepES3_
    139138__ZN3KJS6JSCell11getCallDataERNS_8CallDataE
     
    153152__ZN3KJS6Parser5parseEPNS_9ExecStateERKNS_7UStringEiN3WTF10PassRefPtrINS_14SourceProviderEEEPiSA_PS3_
    154153__ZN3KJS6strtodEPKcPPc
     154__ZN3KJS7ArgList10slowAppendEPNS_7JSValueE
    155155__ZN3KJS7CStringD1Ev
    156156__ZN3KJS7CStringaSERKS0_
     
    177177__ZN3KJS8JSObject12lookupGetterEPNS_9ExecStateERKNS_10IdentifierE
    178178__ZN3KJS8JSObject12lookupSetterEPNS_9ExecStateERKNS_10IdentifierE
    179 __ZN3KJS8JSObject14callAsFunctionEPNS_9ExecStateEPS0_RKNS_4ListE
     179__ZN3KJS8JSObject14callAsFunctionEPNS_9ExecStateEPS0_RKNS_7ArgListE
    180180__ZN3KJS8JSObject14deletePropertyEPNS_9ExecStateERKNS_10IdentifierE
    181181__ZN3KJS8JSObject14deletePropertyEPNS_9ExecStateEj
     
    191191__ZN3KJS8JSObject3putEPNS_9ExecStateEjPNS_7JSValueE
    192192__ZN3KJS8JSObject4markEv
    193 __ZN3KJS8JSObject9constructEPNS_9ExecStateERKNS_4ListE
    194 __ZN3KJS8JSObject9constructEPNS_9ExecStateERKNS_4ListERKNS_10IdentifierERKNS_7UStringEi
     193__ZN3KJS8JSObject9constructEPNS_9ExecStateERKNS_7ArgListE
     194__ZN3KJS8JSObject9constructEPNS_9ExecStateERKNS_7ArgListERKNS_10IdentifierERKNS_7UStringEi
    195195__ZN3KJS8Profiler13stopProfilingEPNS_9ExecStateERKNS_7UStringE
    196196__ZN3KJS8Profiler14startProfilingEPNS_9ExecStateERKNS_7UStringE
     
    249249__ZNK3KJS17DebuggerCallFrame12functionNameEv
    250250__ZNK3KJS17DebuggerCallFrame8evaluateERKNS_7UStringERPNS_7JSValueE
    251 __ZNK3KJS4List8getSliceEiRS0_
    252251__ZNK3KJS4Node8toStringEv
    253252__ZNK3KJS6JSCell12toThisObjectEPNS_9ExecStateE
     
    258257__ZNK3KJS6JSCell9getStringEv
    259258__ZNK3KJS6JSCell9getUInt32ERj
     259__ZNK3KJS7ArgList8getSliceEiRS0_
    260260__ZNK3KJS7JSArray7getItemEj
    261261__ZNK3KJS7JSValue15toInt32SlowCaseEPNS_9ExecStateERb
  • trunk/JavaScriptCore/VM/Machine.cpp

    r34582 r34587  
    685685}
    686686
    687 JSValue* Machine::execute(FunctionBodyNode* functionBodyNode, ExecState* exec, JSFunction* function, JSObject* thisObj, const List& args, RegisterFileStack* registerFileStack, ScopeChainNode* scopeChain, JSValue** exception)
     687JSValue* Machine::execute(FunctionBodyNode* functionBodyNode, ExecState* exec, JSFunction* function, JSObject* thisObj, const ArgList& args, RegisterFileStack* registerFileStack, ScopeChainNode* scopeChain, JSValue** exception)
    688688{
    689689    if (m_reentryDepth >= MaxReentryDepth) {
     
    712712    (*dst).u.jsValue = thisObj;
    713713
    714     List::const_iterator end = args.end();
    715     for (List::const_iterator it = args.begin(); it != end; ++it)
     714    ArgList::const_iterator end = args.end();
     715    for (ArgList::const_iterator it = args.begin(); it != end; ++it)
    716716        (*++dst).u.jsValue = *it;
    717717
     
    21152115            JSObject* thisObj = static_cast<JSObject*>(r[firstArg].u.jsValue);
    21162116
    2117             List args(reinterpret_cast<JSValue***>(registerBase), registerOffset + firstArg + 1, argCount - 1);
     2117            ArgList args(reinterpret_cast<JSValue***>(registerBase), registerOffset + firstArg + 1, argCount - 1);
    21182118
    21192119            registerFile->setSafeForReentry(true);
     
    22522252            int registerOffset = r - (*registerBase);
    22532253
    2254             List args(reinterpret_cast<JSValue***>(registerBase), registerOffset + firstArg + 1, argCount - 1);
     2254            ArgList args(reinterpret_cast<JSValue***>(registerBase), registerOffset + firstArg + 1, argCount - 1);
    22552255
    22562256            registerFile->setSafeForReentry(true);
  • trunk/JavaScriptCore/VM/Machine.h

    r34578 r34587  
    100100
    101101        JSValue* execute(ProgramNode*, ExecState*, ScopeChainNode*, JSObject* thisObj, RegisterFileStack*, JSValue** exception);
    102         JSValue* execute(FunctionBodyNode*, ExecState*, JSFunction*, JSObject* thisObj, const List& args, RegisterFileStack*, ScopeChainNode*, JSValue** exception);
     102        JSValue* execute(FunctionBodyNode*, ExecState*, JSFunction*, JSObject* thisObj, const ArgList& args, RegisterFileStack*, ScopeChainNode*, JSValue** exception);
    103103        JSValue* execute(EvalNode*, ExecState*, JSObject* thisObj, RegisterFile*, int registerOffset, ScopeChainNode*, JSValue** exception);
    104104        JSValue* execute(EvalNode*, ExecState*, JSObject* thisObj, RegisterFileStack*, ScopeChainNode*, JSValue** exception);
  • trunk/JavaScriptCore/kjs/ArrayPrototype.cpp

    r34582 r34587  
    8989}
    9090
    91 JSValue* arrayProtoFuncToString(ExecState* exec, JSObject* thisObj, const List&)
     91JSValue* arrayProtoFuncToString(ExecState* exec, JSObject* thisObj, const ArgList&)
    9292{
    9393    if (!thisObj->inherits(&JSArray::info))
     
    132132}
    133133
    134 JSValue* arrayProtoFuncToLocaleString(ExecState* exec, JSObject* thisObj, const List&)
     134JSValue* arrayProtoFuncToLocaleString(ExecState* exec, JSObject* thisObj, const ArgList&)
    135135{
    136136    if (!thisObj->inherits(&JSArray::info))
     
    181181}
    182182
    183 JSValue* arrayProtoFuncJoin(ExecState* exec, JSObject* thisObj, const List& args)
     183JSValue* arrayProtoFuncJoin(ExecState* exec, JSObject* thisObj, const ArgList& args)
    184184{
    185185    HashSet<JSObject*>& arrayVisitedElements = exec->dynamicGlobalObject()->arrayVisitedElements();
     
    224224}
    225225
    226 JSValue* arrayProtoFuncConcat(ExecState* exec, JSObject* thisObj, const List& args)
     226JSValue* arrayProtoFuncConcat(ExecState* exec, JSObject* thisObj, const ArgList& args)
    227227{
    228228    JSObject* arr = static_cast<JSObject*>(exec->lexicalGlobalObject()->arrayConstructor()->construct(exec, exec->emptyList()));
     
    230230    JSValue* curArg = thisObj;
    231231    JSObject* curObj = static_cast<JSObject* >(thisObj);
    232     List::const_iterator it = args.begin();
    233     List::const_iterator end = args.end();
     232    ArgList::const_iterator it = args.begin();
     233    ArgList::const_iterator end = args.end();
    234234    while (1) {
    235235        if (curArg->isObject() && curObj->inherits(&JSArray::info)) {
     
    258258}
    259259
    260 JSValue* arrayProtoFuncPop(ExecState* exec, JSObject* thisObj, const List&)
     260JSValue* arrayProtoFuncPop(ExecState* exec, JSObject* thisObj, const ArgList&)
    261261{
    262262    JSValue* result = 0;
     
    273273}
    274274
    275 JSValue* arrayProtoFuncPush(ExecState* exec, JSObject* thisObj, const List& args)
     275JSValue* arrayProtoFuncPush(ExecState* exec, JSObject* thisObj, const ArgList& args)
    276276{
    277277    unsigned length = thisObj->get(exec, exec->propertyNames().length)->toUInt32(exec);
     
    283283}
    284284
    285 JSValue* arrayProtoFuncReverse(ExecState* exec, JSObject* thisObj, const List&)
     285JSValue* arrayProtoFuncReverse(ExecState* exec, JSObject* thisObj, const ArgList&)
    286286{
    287287    unsigned length = thisObj->get(exec, exec->propertyNames().length)->toUInt32(exec);
     
    306306}
    307307
    308 JSValue* arrayProtoFuncShift(ExecState* exec, JSObject* thisObj, const List&)
     308JSValue* arrayProtoFuncShift(ExecState* exec, JSObject* thisObj, const ArgList&)
    309309{
    310310    JSValue* result = 0;
     
    328328}
    329329
    330 JSValue* arrayProtoFuncSlice(ExecState* exec, JSObject* thisObj, const List& args)
     330JSValue* arrayProtoFuncSlice(ExecState* exec, JSObject* thisObj, const ArgList& args)
    331331{
    332332    // http://developer.netscape.com/docs/manuals/js/client/jsref/array.htm#1193713 or 15.4.4.10
     
    371371}
    372372
    373 JSValue* arrayProtoFuncSort(ExecState* exec, JSObject* thisObj, const List& args)
     373JSValue* arrayProtoFuncSort(ExecState* exec, JSObject* thisObj, const ArgList& args)
    374374{
    375375    JSObject* sortFunction = 0;
     
    407407                compareResult = -1;
    408408            else if (sortFunction) {
    409                 List l;
     409                ArgList l;
    410410                l.append(jObj);
    411411                l.append(minObj);
     
    428428}
    429429
    430 JSValue* arrayProtoFuncSplice(ExecState* exec, JSObject* thisObj, const List& args)
     430JSValue* arrayProtoFuncSplice(ExecState* exec, JSObject* thisObj, const ArgList& args)
    431431{
    432432    // 15.4.4.12
     
    481481}
    482482
    483 JSValue* arrayProtoFuncUnShift(ExecState* exec, JSObject* thisObj, const List& args)
     483JSValue* arrayProtoFuncUnShift(ExecState* exec, JSObject* thisObj, const ArgList& args)
    484484{
    485485    // 15.4.4.13
     
    501501}
    502502
    503 JSValue* arrayProtoFuncFilter(ExecState* exec, JSObject* thisObj, const List& args)
     503JSValue* arrayProtoFuncFilter(ExecState* exec, JSObject* thisObj, const ArgList& args)
    504504{
    505505    JSObject* eachFunction = args[0]->toObject(exec);
     
    521521        JSValue* v = slot.getValue(exec, k);
    522522
    523         List eachArguments;
     523        ArgList eachArguments;
    524524
    525525        eachArguments.append(v);
     
    535535}
    536536
    537 JSValue* arrayProtoFuncMap(ExecState* exec, JSObject* thisObj, const List& args)
     537JSValue* arrayProtoFuncMap(ExecState* exec, JSObject* thisObj, const ArgList& args)
    538538{
    539539    JSObject* eachFunction = args[0]->toObject(exec);
     
    545545    unsigned length = thisObj->get(exec, exec->propertyNames().length)->toUInt32(exec);
    546546
    547     List mapArgs;
     547    ArgList mapArgs;
    548548    mapArgs.append(jsNumber(length));
    549549    JSObject* resultArray = static_cast<JSObject*>(exec->lexicalGlobalObject()->arrayConstructor()->construct(exec, mapArgs));
     
    556556        JSValue* v = slot.getValue(exec, k);
    557557
    558         List eachArguments;
     558        ArgList eachArguments;
    559559
    560560        eachArguments.append(v);
     
    574574// http://developer-test.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:Array:some
    575575
    576 JSValue* arrayProtoFuncEvery(ExecState* exec, JSObject* thisObj, const List& args)
     576JSValue* arrayProtoFuncEvery(ExecState* exec, JSObject* thisObj, const ArgList& args)
    577577{
    578578    JSObject* eachFunction = args[0]->toObject(exec);
     
    592592            continue;
    593593
    594         List eachArguments;
     594        ArgList eachArguments;
    595595
    596596        eachArguments.append(slot.getValue(exec, k));
     
    609609}
    610610
    611 JSValue* arrayProtoFuncForEach(ExecState* exec, JSObject* thisObj, const List& args)
     611JSValue* arrayProtoFuncForEach(ExecState* exec, JSObject* thisObj, const ArgList& args)
    612612{
    613613    JSObject* eachFunction = args[0]->toObject(exec);
     
    624624            continue;
    625625
    626         List eachArguments;
     626        ArgList eachArguments;
    627627        eachArguments.append(slot.getValue(exec, k));
    628628        eachArguments.append(jsNumber(k));
     
    634634}
    635635
    636 JSValue* arrayProtoFuncSome(ExecState* exec, JSObject* thisObj, const List& args)
     636JSValue* arrayProtoFuncSome(ExecState* exec, JSObject* thisObj, const ArgList& args)
    637637{
    638638    JSObject* eachFunction = args[0]->toObject(exec);
     
    651651            continue;
    652652
    653         List eachArguments;
     653        ArgList eachArguments;
    654654        eachArguments.append(slot.getValue(exec, k));
    655655        eachArguments.append(jsNumber(k));
     
    666666}
    667667
    668 JSValue* arrayProtoFuncIndexOf(ExecState* exec, JSObject* thisObj, const List& args)
     668JSValue* arrayProtoFuncIndexOf(ExecState* exec, JSObject* thisObj, const ArgList& args)
    669669{
    670670    // JavaScript 1.5 Extension by Mozilla
     
    695695}
    696696
    697 JSValue* arrayProtoFuncLastIndexOf(ExecState* exec, JSObject* thisObj, const List& args)
     697JSValue* arrayProtoFuncLastIndexOf(ExecState* exec, JSObject* thisObj, const ArgList& args)
    698698{
    699699    // JavaScript 1.6 Extension by Mozilla
     
    742742
    743743// ECMA 15.4.2
    744 JSObject* ArrayConstructor::construct(ExecState* exec, const List& args)
     744JSObject* ArrayConstructor::construct(ExecState* exec, const ArgList& args)
    745745{
    746746    // a single numeric argument denotes the array size (!)
     
    757757
    758758// ECMA 15.6.1
    759 JSValue* ArrayConstructor::callAsFunction(ExecState* exec, JSObject*, const List& args)
     759JSValue* ArrayConstructor::callAsFunction(ExecState* exec, JSObject*, const ArgList& args)
    760760{
    761761    // equivalent to 'new Array(....)'
  • trunk/JavaScriptCore/kjs/ArrayPrototype.h

    r34582 r34587  
    4242
    4343    virtual ConstructType getConstructData(ConstructData&);
    44     virtual JSObject* construct(ExecState*, const List&);
     44    virtual JSObject* construct(ExecState*, const ArgList&);
    4545
    46     virtual JSValue* callAsFunction(ExecState*, JSObject*, const List&);
     46    virtual JSValue* callAsFunction(ExecState*, JSObject*, const ArgList&);
    4747
    4848  };
    4949
    50   JSValue* arrayProtoFuncToString(ExecState*, JSObject*, const List&);
    51   JSValue* arrayProtoFuncToLocaleString(ExecState*, JSObject*, const List&);
    52   JSValue* arrayProtoFuncConcat(ExecState*, JSObject*, const List&);
    53   JSValue* arrayProtoFuncJoin(ExecState*, JSObject*, const List&);
    54   JSValue* arrayProtoFuncPop(ExecState*, JSObject*, const List&);
    55   JSValue* arrayProtoFuncPush(ExecState*, JSObject*, const List&);
    56   JSValue* arrayProtoFuncReverse(ExecState*, JSObject*, const List&);
    57   JSValue* arrayProtoFuncShift(ExecState*, JSObject*, const List&);
    58   JSValue* arrayProtoFuncSlice(ExecState*, JSObject*, const List&);
    59   JSValue* arrayProtoFuncSort(ExecState*, JSObject*, const List&);
    60   JSValue* arrayProtoFuncSplice(ExecState*, JSObject*, const List&);
    61   JSValue* arrayProtoFuncUnShift(ExecState*, JSObject*, const List&);
    62   JSValue* arrayProtoFuncEvery(ExecState*, JSObject*, const List&);
    63   JSValue* arrayProtoFuncForEach(ExecState*, JSObject*, const List&);
    64   JSValue* arrayProtoFuncSome(ExecState*, JSObject*, const List&);
    65   JSValue* arrayProtoFuncIndexOf(ExecState*, JSObject*, const List&);
    66   JSValue* arrayProtoFuncFilter(ExecState*, JSObject*, const List&);
    67   JSValue* arrayProtoFuncMap(ExecState*, JSObject*, const List&);
    68   JSValue* arrayProtoFuncLastIndexOf(ExecState*, JSObject*, const List&);
     50  JSValue* arrayProtoFuncToString(ExecState*, JSObject*, const ArgList&);
     51  JSValue* arrayProtoFuncToLocaleString(ExecState*, JSObject*, const ArgList&);
     52  JSValue* arrayProtoFuncConcat(ExecState*, JSObject*, const ArgList&);
     53  JSValue* arrayProtoFuncJoin(ExecState*, JSObject*, const ArgList&);
     54  JSValue* arrayProtoFuncPop(ExecState*, JSObject*, const ArgList&);
     55  JSValue* arrayProtoFuncPush(ExecState*, JSObject*, const ArgList&);
     56  JSValue* arrayProtoFuncReverse(ExecState*, JSObject*, const ArgList&);
     57  JSValue* arrayProtoFuncShift(ExecState*, JSObject*, const ArgList&);
     58  JSValue* arrayProtoFuncSlice(ExecState*, JSObject*, const ArgList&);
     59  JSValue* arrayProtoFuncSort(ExecState*, JSObject*, const ArgList&);
     60  JSValue* arrayProtoFuncSplice(ExecState*, JSObject*, const ArgList&);
     61  JSValue* arrayProtoFuncUnShift(ExecState*, JSObject*, const ArgList&);
     62  JSValue* arrayProtoFuncEvery(ExecState*, JSObject*, const ArgList&);
     63  JSValue* arrayProtoFuncForEach(ExecState*, JSObject*, const ArgList&);
     64  JSValue* arrayProtoFuncSome(ExecState*, JSObject*, const ArgList&);
     65  JSValue* arrayProtoFuncIndexOf(ExecState*, JSObject*, const ArgList&);
     66  JSValue* arrayProtoFuncFilter(ExecState*, JSObject*, const ArgList&);
     67  JSValue* arrayProtoFuncMap(ExecState*, JSObject*, const ArgList&);
     68  JSValue* arrayProtoFuncLastIndexOf(ExecState*, JSObject*, const ArgList&);
    6969
    7070} // namespace KJS
  • trunk/JavaScriptCore/kjs/BooleanObject.cpp

    r34582 r34587  
    4141
    4242// Functions
    43 static JSValue* booleanProtoFuncToString(ExecState*, JSObject*, const List&);
    44 static JSValue* booleanProtoFuncValueOf(ExecState*, JSObject*, const List&);
     43static JSValue* booleanProtoFuncToString(ExecState*, JSObject*, const ArgList&);
     44static JSValue* booleanProtoFuncValueOf(ExecState*, JSObject*, const ArgList&);
    4545
    4646// ECMA 15.6.4
     
    6060// ECMA 15.6.4.2 + 15.6.4.3
    6161
    62 JSValue* booleanProtoFuncToString(ExecState* exec, JSObject* thisObj, const List&)
     62JSValue* booleanProtoFuncToString(ExecState* exec, JSObject* thisObj, const ArgList&)
    6363{
    6464    if (!thisObj->inherits(&BooleanObject::info))
     
    7070    return jsString(v->toString(exec));
    7171}
    72 JSValue* booleanProtoFuncValueOf(ExecState* exec, JSObject* thisObj, const List&)
     72JSValue* booleanProtoFuncValueOf(ExecState* exec, JSObject* thisObj, const ArgList&)
    7373{
    7474    if (!thisObj->inherits(&BooleanObject::info))
     
    100100
    101101// ECMA 15.6.2
    102 JSObject* BooleanConstructor::construct(ExecState* exec, const List& args)
     102JSObject* BooleanConstructor::construct(ExecState* exec, const ArgList& args)
    103103{
    104104    BooleanObject* obj(new BooleanObject(exec->lexicalGlobalObject()->booleanPrototype()));
     
    108108
    109109// ECMA 15.6.1
    110 JSValue* BooleanConstructor::callAsFunction(ExecState* exec, JSObject*, const List& args)
     110JSValue* BooleanConstructor::callAsFunction(ExecState* exec, JSObject*, const ArgList& args)
    111111{
    112112    // TODO: optimize for bool case
  • trunk/JavaScriptCore/kjs/BooleanObject.h

    r34582 r34587  
    5656
    5757        virtual ConstructType getConstructData(ConstructData&);
    58         virtual JSObject* construct(ExecState*, const List&);
     58        virtual JSObject* construct(ExecState*, const ArgList&);
    5959
    60         virtual JSValue* callAsFunction(ExecState*, JSObject*, const List&);
     60        virtual JSValue* callAsFunction(ExecState*, JSObject*, const ArgList&);
    6161    };
    6262
  • trunk/JavaScriptCore/kjs/CommonIdentifiers.h

    r34412 r34587  
    2525#include <wtf/Noncopyable.h>
    2626
    27 // List of property names, passed to a macro so we can do set them up various
     27// ArgList of property names, passed to a macro so we can do set them up various
    2828// ways without repeating the list.
    2929#define KJS_COMMON_IDENTIFIERS_EACH_PROPERTY_NAME(macro) \
  • trunk/JavaScriptCore/kjs/ExecState.h

    r34582 r34587  
    8282        IdentifierTable* identifierTable() { return m_globalData->identifierTable; }
    8383        const CommonIdentifiers& propertyNames() const { return *m_globalData->propertyNames; }
    84         const List& emptyList() const { return m_globalData->emptyList; }
     84        const ArgList& emptyList() const { return m_globalData->emptyList; }
    8585        Lexer* lexer() { return m_globalData->lexer; }
    8686        Parser* parser() { return m_globalData->parser; }
  • trunk/JavaScriptCore/kjs/FunctionPrototype.cpp

    r34582 r34587  
    3939// ------------------------------ FunctionPrototype -------------------------
    4040
    41 static JSValue* functionProtoFuncToString(ExecState*, JSObject*, const List&);
    42 static JSValue* functionProtoFuncApply(ExecState*, JSObject*, const List&);
    43 static JSValue* functionProtoFuncCall(ExecState*, JSObject*, const List&);
     41static JSValue* functionProtoFuncToString(ExecState*, JSObject*, const ArgList&);
     42static JSValue* functionProtoFuncApply(ExecState*, JSObject*, const ArgList&);
     43static JSValue* functionProtoFuncCall(ExecState*, JSObject*, const ArgList&);
    4444
    4545FunctionPrototype::FunctionPrototype(ExecState* exec)
     
    5353
    5454// ECMA 15.3.4
    55 JSValue* FunctionPrototype::callAsFunction(ExecState*, JSObject*, const List&)
     55JSValue* FunctionPrototype::callAsFunction(ExecState*, JSObject*, const ArgList&)
    5656{
    5757    return jsUndefined();
     
    6060// Functions
    6161
    62 JSValue* functionProtoFuncToString(ExecState* exec, JSObject* thisObj, const List&)
     62JSValue* functionProtoFuncToString(ExecState* exec, JSObject* thisObj, const ArgList&)
    6363{
    6464    if (!thisObj || !thisObj->inherits(&InternalFunction::info)) {
     
    7777}
    7878
    79 JSValue* functionProtoFuncApply(ExecState* exec, JSObject* thisObj, const List& args)
     79JSValue* functionProtoFuncApply(ExecState* exec, JSObject* thisObj, const ArgList& args)
    8080{
    8181    if (!thisObj->implementsCall())
     
    9191        applyThis = thisArg->toObject(exec);
    9292
    93     List applyArgs;
     93    ArgList applyArgs;
    9494    if (!argArray->isUndefinedOrNull()) {
    9595        if (argArray->isObject() &&
     
    108108}
    109109
    110 JSValue* functionProtoFuncCall(ExecState* exec, JSObject* thisObj, const List& args)
     110JSValue* functionProtoFuncCall(ExecState* exec, JSObject* thisObj, const ArgList& args)
    111111{
    112112    if (!thisObj->implementsCall())
     
    121121        callThis = thisArg->toObject(exec);
    122122
    123     List argsTail;
     123    ArgList argsTail;
    124124    args.getSlice(1, argsTail);
    125125    return thisObj->callAsFunction(exec, callThis, argsTail);
     
    143143
    144144// ECMA 15.3.2 The Function Constructor
    145 JSObject* FunctionConstructor::construct(ExecState* exec, const List& args, const Identifier& functionName, const UString& sourceURL, int lineNumber)
     145JSObject* FunctionConstructor::construct(ExecState* exec, const ArgList& args, const Identifier& functionName, const UString& sourceURL, int lineNumber)
    146146{
    147147    UString p("");
     
    216216
    217217// ECMA 15.3.2 The Function Constructor
    218 JSObject* FunctionConstructor::construct(ExecState* exec, const List& args)
     218JSObject* FunctionConstructor::construct(ExecState* exec, const ArgList& args)
    219219{
    220220    return construct(exec, args, "anonymous", UString(), 1);
     
    222222
    223223// ECMA 15.3.1 The Function Constructor Called as a Function
    224 JSValue* FunctionConstructor::callAsFunction(ExecState* exec, JSObject*, const List& args)
     224JSValue* FunctionConstructor::callAsFunction(ExecState* exec, JSObject*, const ArgList& args)
    225225{
    226226    return construct(exec, args);
  • trunk/JavaScriptCore/kjs/FunctionPrototype.h

    r34582 r34587  
    3939        FunctionPrototype(ExecState*);
    4040
    41         virtual JSValue* callAsFunction(ExecState*, JSObject*, const List&);
     41        virtual JSValue* callAsFunction(ExecState*, JSObject*, const ArgList&);
    4242    };
    4343
     
    5252
    5353        virtual ConstructType getConstructData(ConstructData&);
    54         virtual JSObject* construct(ExecState*, const List&);
    55         virtual JSObject* construct(ExecState*, const List&, const Identifier& functionName, const UString& sourceURL, int lineNumber);
     54        virtual JSObject* construct(ExecState*, const ArgList&);
     55        virtual JSObject* construct(ExecState*, const ArgList&, const Identifier& functionName, const UString& sourceURL, int lineNumber);
    5656
    57         virtual JSValue* callAsFunction(ExecState*, JSObject*, const List&);
     57        virtual JSValue* callAsFunction(ExecState*, JSObject*, const ArgList&);
    5858    };
    5959
  • trunk/JavaScriptCore/kjs/JSActivation.cpp

    r34581 r34587  
    186186    int argc;
    187187    exec->machine()->getFunctionAndArguments(registerBase(), callFrame, function, argv, argc);
    188     List args(reinterpret_cast<JSValue***>(registerBase()), argv - *registerBase(), argc);
     188    ArgList args(reinterpret_cast<JSValue***>(registerBase()), argv - *registerBase(), argc);
    189189    return new Arguments(exec, function, args, this);
    190190}
  • trunk/JavaScriptCore/kjs/JSArray.cpp

    r34582 r34587  
    9494}
    9595
    96 JSArray::JSArray(JSObject* prototype, const List& list)
     96JSArray::JSArray(JSObject* prototype, const ArgList& list)
    9797    : JSObject(prototype)
    9898{
     
    108108
    109109    size_t i = 0;
    110     List::const_iterator end = list.end();
    111     for (List::const_iterator it = list.begin(); it != end; ++it, ++i)
     110    ArgList::const_iterator end = list.end();
     111    for (ArgList::const_iterator it = list.begin(); it != end; ++it, ++i)
    112112        storage->m_vector[i] = *it;
    113113
     
    593593            return 1;
    594594
    595         List arguments;
     595        ArgList arguments;
    596596        arguments.append(va);
    597597        arguments.append(vb);
  • trunk/JavaScriptCore/kjs/JSArray.h

    r34582 r34587  
    3232  public:
    3333    JSArray(JSObject* prototype, unsigned initialLength);
    34     JSArray(JSObject* prototype, const List& initialValues);
     34    JSArray(JSObject* prototype, const ArgList& initialValues);
    3535    ~JSArray();
    3636
  • trunk/JavaScriptCore/kjs/JSFunction.cpp

    r34582 r34587  
    8181}
    8282
    83 JSValue* JSFunction::callAsFunction(ExecState* exec, JSObject* thisObj, const List& args)
     83JSValue* JSFunction::callAsFunction(ExecState* exec, JSObject* thisObj, const ArgList& args)
    8484{
    8585    JSValue* exception = 0;
     
    187187}
    188188
    189 JSObject* JSFunction::construct(ExecState* exec, const List& args)
     189JSObject* JSFunction::construct(ExecState* exec, const ArgList& args)
    190190{
    191191    JSObject* proto;
     
    221221// isn't stored in the activation object.
    222222
    223 IndexToNameMap::IndexToNameMap(JSFunction* func, const List& args)
     223IndexToNameMap::IndexToNameMap(JSFunction* func, const ArgList& args)
    224224{
    225225  _map = new Identifier[args.size()];
     
    227227 
    228228  unsigned i = 0;
    229   List::const_iterator end = args.end();
    230   for (List::const_iterator it = args.begin(); it != end; ++i, ++it)
     229  ArgList::const_iterator end = args.end();
     230  for (ArgList::const_iterator it = args.begin(); it != end; ++i, ++it)
    231231    _map[i] = func->getParameterName(i); // null if there is no corresponding parameter
    232232}
     
    279279
    280280// ECMA 10.1.8
    281 Arguments::Arguments(ExecState* exec, JSFunction* func, const List& args, JSActivation* act)
     281Arguments::Arguments(ExecState* exec, JSFunction* func, const ArgList& args, JSActivation* act)
    282282    : JSObject(exec->lexicalGlobalObject()->objectPrototype())
    283283    , _activationObject(act)
     
    288288 
    289289    int i = 0;
    290     List::const_iterator end = args.end();
    291     for (List::const_iterator it = args.begin(); it != end; ++it, ++i) {
     290    ArgList::const_iterator end = args.end();
     291    for (ArgList::const_iterator it = args.begin(); it != end; ++it, ++i) {
    292292        Identifier name = Identifier::from(i);
    293293        if (!indexToNameMap.isMapped(name))
     
    339339// ------------------------------ Global Functions -----------------------------------
    340340
    341 static JSValue* encode(ExecState* exec, const List& args, const char* do_not_escape)
     341static JSValue* encode(ExecState* exec, const ArgList& args, const char* do_not_escape)
    342342{
    343343  UString r = "", s, str = args[0]->toString(exec);
     
    359359}
    360360
    361 static JSValue* decode(ExecState* exec, const List& args, const char* do_not_unescape, bool strict)
     361static JSValue* decode(ExecState* exec, const ArgList& args, const char* do_not_unescape, bool strict)
    362362{
    363363  UString s = "", str = args[0]->toString(exec);
     
    558558}
    559559
    560 JSValue* globalFuncEval(ExecState* exec, PrototypeReflexiveFunction* function, JSObject* thisObj, const List& args)
     560JSValue* globalFuncEval(ExecState* exec, PrototypeReflexiveFunction* function, JSObject* thisObj, const ArgList& args)
    561561{
    562562    JSGlobalObject* globalObject = thisObj->toGlobalObject(exec);
     
    591591}
    592592
    593 JSValue* globalFuncParseInt(ExecState* exec, JSObject*, const List& args)
     593JSValue* globalFuncParseInt(ExecState* exec, JSObject*, const ArgList& args)
    594594{
    595595    return jsNumber(parseInt(args[0]->toString(exec), args[1]->toInt32(exec)));
    596596}
    597597
    598 JSValue* globalFuncParseFloat(ExecState* exec, JSObject*, const List& args)
     598JSValue* globalFuncParseFloat(ExecState* exec, JSObject*, const ArgList& args)
    599599{
    600600    return jsNumber(parseFloat(args[0]->toString(exec)));
    601601}
    602602
    603 JSValue* globalFuncIsNaN(ExecState* exec, JSObject*, const List& args)
     603JSValue* globalFuncIsNaN(ExecState* exec, JSObject*, const ArgList& args)
    604604{
    605605    return jsBoolean(isnan(args[0]->toNumber(exec)));
    606606}
    607607
    608 JSValue* globalFuncIsFinite(ExecState* exec, JSObject*, const List& args)
     608JSValue* globalFuncIsFinite(ExecState* exec, JSObject*, const ArgList& args)
    609609{
    610610    double n = args[0]->toNumber(exec);
     
    612612}
    613613
    614 JSValue* globalFuncDecodeURI(ExecState* exec, JSObject*, const List& args)
     614JSValue* globalFuncDecodeURI(ExecState* exec, JSObject*, const ArgList& args)
    615615{
    616616    static const char do_not_unescape_when_decoding_URI[] =
     
    620620}
    621621
    622 JSValue* globalFuncDecodeURIComponent(ExecState* exec, JSObject*, const List& args)
     622JSValue* globalFuncDecodeURIComponent(ExecState* exec, JSObject*, const ArgList& args)
    623623{
    624624    return decode(exec, args, "", true);
    625625}
    626626
    627 JSValue* globalFuncEncodeURI(ExecState* exec, JSObject*, const List& args)
     627JSValue* globalFuncEncodeURI(ExecState* exec, JSObject*, const ArgList& args)
    628628{
    629629    static const char do_not_escape_when_encoding_URI[] =
     
    636636}
    637637
    638 JSValue* globalFuncEncodeURIComponent(ExecState* exec, JSObject*, const List& args)
     638JSValue* globalFuncEncodeURIComponent(ExecState* exec, JSObject*, const ArgList& args)
    639639{
    640640    static const char do_not_escape_when_encoding_URI_component[] =
     
    647647}
    648648
    649 JSValue* globalFuncEscape(ExecState* exec, JSObject*, const List& args)
     649JSValue* globalFuncEscape(ExecState* exec, JSObject*, const ArgList& args)
    650650{
    651651    static const char do_not_escape[] =
     
    676676}
    677677
    678 JSValue* globalFuncUnescape(ExecState* exec, JSObject*, const List& args)
     678JSValue* globalFuncUnescape(ExecState* exec, JSObject*, const ArgList& args)
    679679{
    680680    UString s = "", str = args[0]->toString(exec);
     
    702702
    703703#ifndef NDEBUG
    704 JSValue* globalFuncKJSPrint(ExecState* exec, JSObject*, const List& args)
     704JSValue* globalFuncKJSPrint(ExecState* exec, JSObject*, const ArgList& args)
    705705{
    706706    CStringBuffer string;
     
    729729}
    730730
    731 JSValue* PrototypeFunction::callAsFunction(ExecState* exec, JSObject* thisObj, const List& args)
     731JSValue* PrototypeFunction::callAsFunction(ExecState* exec, JSObject* thisObj, const ArgList& args)
    732732{
    733733    return m_function(exec, thisObj, args);
     
    746746}
    747747
    748 JSValue* PrototypeReflexiveFunction::callAsFunction(ExecState* exec, JSObject* thisObj, const List& args)
     748JSValue* PrototypeReflexiveFunction::callAsFunction(ExecState* exec, JSObject* thisObj, const ArgList& args)
    749749{
    750750    return m_function(exec, this, thisObj, args);
  • trunk/JavaScriptCore/kjs/JSFunction.h

    r34582 r34587  
    4545    virtual CallType getCallData(CallData&);
    4646
    47     virtual JSValue* callAsFunction(ExecState*, JSObject* thisObjec, const List& args) = 0;
     47    virtual JSValue* callAsFunction(ExecState*, JSObject* thisObjec, const ArgList& args) = 0;
    4848    virtual bool implementsHasInstance() const;
    4949
     
    6565
    6666    virtual ConstructType getConstructData(ConstructData&);
    67     virtual JSObject* construct(ExecState*, const List& args);
     67    virtual JSObject* construct(ExecState*, const ArgList& args);
    6868
    6969    virtual CallType getCallData(CallData&);
    70     virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const List& args);
     70    virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const ArgList& args);
    7171
    7272    // Note: unlike body->paramName, this returns Identifier::null for parameters
     
    9494  class IndexToNameMap {
    9595  public:
    96     IndexToNameMap(JSFunction*, const List& args);
     96    IndexToNameMap(JSFunction*, const ArgList& args);
    9797    ~IndexToNameMap();
    9898   
     
    108108  class Arguments : public JSObject {
    109109  public:
    110     Arguments(ExecState*, JSFunction* func, const List& args, JSActivation* act);
     110    Arguments(ExecState*, JSFunction* func, const ArgList& args, JSActivation* act);
    111111    virtual void mark();
    112112    virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&);
     
    124124  class PrototypeFunction : public InternalFunction {
    125125  public:
    126     typedef JSValue* (*JSMemberFunction)(ExecState*, JSObject* thisObj, const List&);
     126    typedef JSValue* (*JSMemberFunction)(ExecState*, JSObject* thisObj, const ArgList&);
    127127
    128128    PrototypeFunction(ExecState*, int len, const Identifier&, JSMemberFunction);
    129129    PrototypeFunction(ExecState*, FunctionPrototype*, int len, const Identifier&, JSMemberFunction);
    130130
    131     virtual JSValue* callAsFunction(ExecState* exec, JSObject* thisObj, const List&);
     131    virtual JSValue* callAsFunction(ExecState* exec, JSObject* thisObj, const ArgList&);
    132132
    133133  private:
     
    139139  class PrototypeReflexiveFunction : public InternalFunction {
    140140  public:
    141     typedef JSValue* (*JSMemberFunction)(ExecState*, PrototypeReflexiveFunction*, JSObject* thisObj, const List&);
     141    typedef JSValue* (*JSMemberFunction)(ExecState*, PrototypeReflexiveFunction*, JSObject* thisObj, const ArgList&);
    142142
    143143    PrototypeReflexiveFunction(ExecState*, FunctionPrototype*, int len, const Identifier&, JSMemberFunction, JSGlobalObject* expectedThisObject);
    144144
    145145    virtual void mark();
    146     virtual JSValue* callAsFunction(ExecState* exec, JSObject* thisObj, const List&);
     146    virtual JSValue* callAsFunction(ExecState* exec, JSObject* thisObj, const ArgList&);
    147147
    148148    JSGlobalObject* cachedGlobalObject() const { return m_cachedGlobalObject; }
     
    154154
    155155    // Global Functions
    156     JSValue* globalFuncEval(ExecState*, PrototypeReflexiveFunction*, JSObject*, const List&);
    157     JSValue* globalFuncParseInt(ExecState*, JSObject*, const List&);
    158     JSValue* globalFuncParseFloat(ExecState*, JSObject*, const List&);
    159     JSValue* globalFuncIsNaN(ExecState*, JSObject*, const List&);
    160     JSValue* globalFuncIsFinite(ExecState*, JSObject*, const List&);
    161     JSValue* globalFuncDecodeURI(ExecState*, JSObject*, const List&);
    162     JSValue* globalFuncDecodeURIComponent(ExecState*, JSObject*, const List&);
    163     JSValue* globalFuncEncodeURI(ExecState*, JSObject*, const List&);
    164     JSValue* globalFuncEncodeURIComponent(ExecState*, JSObject*, const List&);
    165     JSValue* globalFuncEscape(ExecState*, JSObject*, const List&);
    166     JSValue* globalFuncUnescape(ExecState*, JSObject*, const List&);
     156    JSValue* globalFuncEval(ExecState*, PrototypeReflexiveFunction*, JSObject*, const ArgList&);
     157    JSValue* globalFuncParseInt(ExecState*, JSObject*, const ArgList&);
     158    JSValue* globalFuncParseFloat(ExecState*, JSObject*, const ArgList&);
     159    JSValue* globalFuncIsNaN(ExecState*, JSObject*, const ArgList&);
     160    JSValue* globalFuncIsFinite(ExecState*, JSObject*, const ArgList&);
     161    JSValue* globalFuncDecodeURI(ExecState*, JSObject*, const ArgList&);
     162    JSValue* globalFuncDecodeURIComponent(ExecState*, JSObject*, const ArgList&);
     163    JSValue* globalFuncEncodeURI(ExecState*, JSObject*, const ArgList&);
     164    JSValue* globalFuncEncodeURIComponent(ExecState*, JSObject*, const ArgList&);
     165    JSValue* globalFuncEscape(ExecState*, JSObject*, const ArgList&);
     166    JSValue* globalFuncUnescape(ExecState*, JSObject*, const ArgList&);
    167167#ifndef NDEBUG
    168     JSValue* globalFuncKJSPrint(ExecState*, JSObject*, const List&);
     168    JSValue* globalFuncKJSPrint(ExecState*, JSObject*, const ArgList&);
    169169#endif
    170170
  • trunk/JavaScriptCore/kjs/JSGlobalData.h

    r34580 r34587  
    7070        IdentifierTable* identifierTable;
    7171        CommonIdentifiers* propertyNames;
    72         const List emptyList; // Lists are supposed to be allocated on the stack to have their elements properly marked, which is not the case here - but this list has nothing to mark.
     72        const ArgList emptyList; // Lists are supposed to be allocated on the stack to have their elements properly marked, which is not the case here - but this list has nothing to mark.
    7373
    7474        HashSet<ParserRefCounted*> newTrackedObjects;
  • trunk/JavaScriptCore/kjs/JSImmediate.cpp

    r34582 r34587  
    3838        return new JSNotAnObject(throwError(exec, TypeError, "Undefined value"));
    3939    else if (isBoolean(v)) {
    40         List args;
     40        ArgList args;
    4141        args.append(const_cast<JSValue *>(v));
    4242        return exec->lexicalGlobalObject()->booleanConstructor()->construct(exec, args);
    4343    } else {
    4444        ASSERT(isNumber(v));
    45         List args;
     45        ArgList args;
    4646        args.append(const_cast<JSValue *>(v));
    4747        return exec->lexicalGlobalObject()->numberConstructor()->construct(exec, args);
  • trunk/JavaScriptCore/kjs/JSNotAnObject.cpp

    r34372 r34587  
    134134}
    135135
    136 JSObject* JSNotAnObject::construct(ExecState* exec, const List&)
     136JSObject* JSNotAnObject::construct(ExecState* exec, const ArgList&)
    137137{
    138138    UNUSED_PARAM(exec);
     
    141141}
    142142
    143 JSObject* JSNotAnObject::construct(ExecState* exec, const List&, const Identifier&, const UString&, int)
     143JSObject* JSNotAnObject::construct(ExecState* exec, const ArgList&, const Identifier&, const UString&, int)
    144144{
    145145    UNUSED_PARAM(exec);
     
    148148}
    149149
    150 JSValue* JSNotAnObject::callAsFunction(ExecState* exec, JSObject*, const List&)
     150JSValue* JSNotAnObject::callAsFunction(ExecState* exec, JSObject*, const ArgList&)
    151151{
    152152    UNUSED_PARAM(exec);
  • trunk/JavaScriptCore/kjs/JSNotAnObject.h

    r34581 r34587  
    6767        virtual JSValue* defaultValue(ExecState*, JSType hint) const;
    6868
    69         virtual JSObject* construct(ExecState*, const List&);
    70         virtual JSObject* construct(ExecState*, const List&, const Identifier& functionName, const UString& sourceURL, int lineNumber);
     69        virtual JSObject* construct(ExecState*, const ArgList&);
     70        virtual JSObject* construct(ExecState*, const ArgList&, const Identifier& functionName, const UString& sourceURL, int lineNumber);
    7171
    72         virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const List&);
     72        virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const ArgList&);
    7373
    7474        virtual void getPropertyNames(ExecState*, PropertyNameArray&);
  • trunk/JavaScriptCore/kjs/JSObject.cpp

    r34581 r34587  
    148148          }
    149149           
    150           List args;
     150          ArgList args;
    151151          args.append(value);
    152152       
     
    366366}
    367367
    368 JSObject* JSObject::construct(ExecState*, const List& /*args*/)
     368JSObject* JSObject::construct(ExecState*, const ArgList& /*args*/)
    369369{
    370370  ASSERT(false);
     
    372372}
    373373
    374 JSObject* JSObject::construct(ExecState* exec, const List& args, const Identifier& /*functionName*/, const UString& /*sourceURL*/, int /*lineNumber*/)
     374JSObject* JSObject::construct(ExecState* exec, const ArgList& args, const Identifier& /*functionName*/, const UString& /*sourceURL*/, int /*lineNumber*/)
    375375{
    376376  return construct(exec, args);
     
    383383}
    384384
    385 JSValue *JSObject::callAsFunction(ExecState* /*exec*/, JSObject* /*thisObj*/, const List &/*args*/)
     385JSValue *JSObject::callAsFunction(ExecState* /*exec*/, JSObject* /*thisObj*/, const ArgList &/*args*/)
    386386{
    387387  ASSERT(false);
     
    556556  }
    557557
    558   List args;
     558  ArgList args;
    559559  if (message.isEmpty())
    560560    args.append(jsString(name));
  • trunk/JavaScriptCore/kjs/JSObject.h

    r34582 r34587  
    350350     * Implementation of the [[Construct]] internal property
    351351     */
    352     virtual JSObject* construct(ExecState* exec, const List& args);
    353     virtual JSObject* construct(ExecState* exec, const List& args, const Identifier& functionName, const UString& sourceURL, int lineNumber);
     352    virtual JSObject* construct(ExecState* exec, const ArgList& args);
     353    virtual JSObject* construct(ExecState* exec, const ArgList& args, const Identifier& functionName, const UString& sourceURL, int lineNumber);
    354354
    355355    /**
     
    367367     * is executed, call() will be invoked on the C++ object which implements
    368368     * the toString method, with the thisObj being window.location
    369      * @param args List of arguments to be passed to the function
     369     * @param args ArgList of arguments to be passed to the function
    370370     * @return The return value from the function
    371371     */
    372372    bool implementsCall();
    373     virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args);
     373    virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const ArgList &args);
    374374
    375375    /**
  • trunk/JavaScriptCore/kjs/MathObject.cpp

    r34582 r34587  
    104104// ------------------------------ Functions --------------------------------
    105105
    106 JSValue* mathProtoFuncAbs(ExecState* exec, JSObject*, const List& args)
     106JSValue* mathProtoFuncAbs(ExecState* exec, JSObject*, const ArgList& args)
    107107{
    108108    double arg = args[0]->toNumber(exec);
     
    110110}
    111111
    112 JSValue* mathProtoFuncACos(ExecState* exec, JSObject*, const List& args)
     112JSValue* mathProtoFuncACos(ExecState* exec, JSObject*, const ArgList& args)
    113113{
    114114    return jsNumber(acos(args[0]->toNumber(exec)));
    115115}
    116116
    117 JSValue* mathProtoFuncASin(ExecState* exec, JSObject*, const List& args)
     117JSValue* mathProtoFuncASin(ExecState* exec, JSObject*, const ArgList& args)
    118118{
    119119    return jsNumber(asin(args[0]->toNumber(exec)));
    120120}
    121121
    122 JSValue* mathProtoFuncATan(ExecState* exec, JSObject*, const List& args)
     122JSValue* mathProtoFuncATan(ExecState* exec, JSObject*, const ArgList& args)
    123123{
    124124    return jsNumber(atan(args[0]->toNumber(exec)));
    125125}
    126126
    127 JSValue* mathProtoFuncATan2(ExecState* exec, JSObject*, const List& args)
     127JSValue* mathProtoFuncATan2(ExecState* exec, JSObject*, const ArgList& args)
    128128{
    129129    return jsNumber(atan2(args[0]->toNumber(exec), args[1]->toNumber(exec)));
    130130}
    131131
    132 JSValue* mathProtoFuncCeil(ExecState* exec, JSObject*, const List& args)
     132JSValue* mathProtoFuncCeil(ExecState* exec, JSObject*, const ArgList& args)
    133133{
    134134    double arg = args[0]->toNumber(exec);
     
    138138}
    139139
    140 JSValue* mathProtoFuncCos(ExecState* exec, JSObject*, const List& args)
     140JSValue* mathProtoFuncCos(ExecState* exec, JSObject*, const ArgList& args)
    141141{
    142142    return jsNumber(cos(args[0]->toNumber(exec)));
    143143}
    144144
    145 JSValue* mathProtoFuncExp(ExecState* exec, JSObject*, const List& args)
     145JSValue* mathProtoFuncExp(ExecState* exec, JSObject*, const ArgList& args)
    146146{
    147147    return jsNumber(exp(args[0]->toNumber(exec)));
    148148}
    149149
    150 JSValue* mathProtoFuncFloor(ExecState* exec, JSObject*, const List& args)
     150JSValue* mathProtoFuncFloor(ExecState* exec, JSObject*, const ArgList& args)
    151151{
    152152    double arg = args[0]->toNumber(exec);
     
    156156}
    157157
    158 JSValue* mathProtoFuncLog(ExecState* exec, JSObject*, const List& args)
     158JSValue* mathProtoFuncLog(ExecState* exec, JSObject*, const ArgList& args)
    159159{
    160160    return jsNumber(log(args[0]->toNumber(exec)));
    161161}
    162162
    163 JSValue* mathProtoFuncMax(ExecState* exec, JSObject*, const List& args)
     163JSValue* mathProtoFuncMax(ExecState* exec, JSObject*, const ArgList& args)
    164164{
    165165    unsigned argsCount = args.size();
     
    177177}
    178178
    179 JSValue* mathProtoFuncMin(ExecState* exec, JSObject*, const List& args)
     179JSValue* mathProtoFuncMin(ExecState* exec, JSObject*, const ArgList& args)
    180180{
    181181    unsigned argsCount = args.size();
     
    193193}
    194194
    195 JSValue* mathProtoFuncPow(ExecState* exec, JSObject*, const List& args)
     195JSValue* mathProtoFuncPow(ExecState* exec, JSObject*, const ArgList& args)
    196196{
    197197    // ECMA 15.8.2.1.13
     
    207207}
    208208
    209 JSValue* mathProtoFuncRandom(ExecState*, JSObject*, const List&)
     209JSValue* mathProtoFuncRandom(ExecState*, JSObject*, const ArgList&)
    210210{
    211211#if !USE(MULTIPLE_THREADS)
     
    220220}
    221221
    222 JSValue* mathProtoFuncRound(ExecState* exec, JSObject*, const List& args)
     222JSValue* mathProtoFuncRound(ExecState* exec, JSObject*, const ArgList& args)
    223223{
    224224    double arg = args[0]->toNumber(exec);
     
    228228}
    229229
    230 JSValue* mathProtoFuncSin(ExecState* exec, JSObject*, const List& args)
     230JSValue* mathProtoFuncSin(ExecState* exec, JSObject*, const ArgList& args)
    231231{
    232232    return jsNumber(sin(args[0]->toNumber(exec)));
    233233}
    234234
    235 JSValue* mathProtoFuncSqrt(ExecState* exec, JSObject*, const List& args)
     235JSValue* mathProtoFuncSqrt(ExecState* exec, JSObject*, const ArgList& args)
    236236{
    237237    return jsNumber(sqrt(args[0]->toNumber(exec)));
    238238}
    239239
    240 JSValue* mathProtoFuncTan(ExecState* exec, JSObject*, const List& args)
     240JSValue* mathProtoFuncTan(ExecState* exec, JSObject*, const ArgList& args)
    241241{
    242242    return jsNumber(tan(args[0]->toNumber(exec)));
  • trunk/JavaScriptCore/kjs/MathObject.h

    r34582 r34587  
    4242
    4343    // Functions
    44     JSValue* mathProtoFuncAbs(ExecState*, JSObject*, const List&);
    45     JSValue* mathProtoFuncACos(ExecState*, JSObject*, const List&);
    46     JSValue* mathProtoFuncASin(ExecState*, JSObject*, const List&);
    47     JSValue* mathProtoFuncATan(ExecState*, JSObject*, const List&);
    48     JSValue* mathProtoFuncATan2(ExecState*, JSObject*, const List&);
    49     JSValue* mathProtoFuncCeil(ExecState*, JSObject*, const List&);
    50     JSValue* mathProtoFuncCos(ExecState*, JSObject*, const List&);
    51     JSValue* mathProtoFuncExp(ExecState*, JSObject*, const List&);
    52     JSValue* mathProtoFuncFloor(ExecState*, JSObject*, const List&);
    53     JSValue* mathProtoFuncLog(ExecState*, JSObject*, const List&);
    54     JSValue* mathProtoFuncMax(ExecState*, JSObject*, const List&);
    55     JSValue* mathProtoFuncMin(ExecState*, JSObject*, const List&);
    56     JSValue* mathProtoFuncPow(ExecState*, JSObject*, const List&);
    57     JSValue* mathProtoFuncRandom(ExecState*, JSObject*, const List&);
    58     JSValue* mathProtoFuncRound(ExecState*, JSObject*, const List&);
    59     JSValue* mathProtoFuncSin(ExecState*, JSObject*, const List&);
    60     JSValue* mathProtoFuncSqrt(ExecState*, JSObject*, const List&);
    61     JSValue* mathProtoFuncTan(ExecState*, JSObject*, const List&);
     44    JSValue* mathProtoFuncAbs(ExecState*, JSObject*, const ArgList&);
     45    JSValue* mathProtoFuncACos(ExecState*, JSObject*, const ArgList&);
     46    JSValue* mathProtoFuncASin(ExecState*, JSObject*, const ArgList&);
     47    JSValue* mathProtoFuncATan(ExecState*, JSObject*, const ArgList&);
     48    JSValue* mathProtoFuncATan2(ExecState*, JSObject*, const ArgList&);
     49    JSValue* mathProtoFuncCeil(ExecState*, JSObject*, const ArgList&);
     50    JSValue* mathProtoFuncCos(ExecState*, JSObject*, const ArgList&);
     51    JSValue* mathProtoFuncExp(ExecState*, JSObject*, const ArgList&);
     52    JSValue* mathProtoFuncFloor(ExecState*, JSObject*, const ArgList&);
     53    JSValue* mathProtoFuncLog(ExecState*, JSObject*, const ArgList&);
     54    JSValue* mathProtoFuncMax(ExecState*, JSObject*, const ArgList&);
     55    JSValue* mathProtoFuncMin(ExecState*, JSObject*, const ArgList&);
     56    JSValue* mathProtoFuncPow(ExecState*, JSObject*, const ArgList&);
     57    JSValue* mathProtoFuncRandom(ExecState*, JSObject*, const ArgList&);
     58    JSValue* mathProtoFuncRound(ExecState*, JSObject*, const ArgList&);
     59    JSValue* mathProtoFuncSin(ExecState*, JSObject*, const ArgList&);
     60    JSValue* mathProtoFuncSqrt(ExecState*, JSObject*, const ArgList&);
     61    JSValue* mathProtoFuncTan(ExecState*, JSObject*, const ArgList&);
    6262
    6363} // namespace KJS
  • trunk/JavaScriptCore/kjs/NumberObject.cpp

    r34582 r34587  
    4444// ------------------------------ NumberPrototype ---------------------------
    4545
    46 static JSValue* numberProtoFuncToString(ExecState*, JSObject*, const List&);
    47 static JSValue* numberProtoFuncToLocaleString(ExecState*, JSObject*, const List&);
    48 static JSValue* numberProtoFuncValueOf(ExecState*, JSObject*, const List&);
    49 static JSValue* numberProtoFuncToFixed(ExecState*, JSObject*, const List&);
    50 static JSValue* numberProtoFuncToExponential(ExecState*, JSObject*, const List&);
    51 static JSValue* numberProtoFuncToPrecision(ExecState*, JSObject*, const List&);
     46static JSValue* numberProtoFuncToString(ExecState*, JSObject*, const ArgList&);
     47static JSValue* numberProtoFuncToLocaleString(ExecState*, JSObject*, const ArgList&);
     48static JSValue* numberProtoFuncValueOf(ExecState*, JSObject*, const ArgList&);
     49static JSValue* numberProtoFuncToFixed(ExecState*, JSObject*, const ArgList&);
     50static JSValue* numberProtoFuncToExponential(ExecState*, JSObject*, const ArgList&);
     51static JSValue* numberProtoFuncToPrecision(ExecState*, JSObject*, const ArgList&);
    5252
    5353// ECMA 15.7.4
     
    143143
    144144
    145 JSValue* numberProtoFuncToString(ExecState* exec, JSObject* thisObj, const List& args)
     145JSValue* numberProtoFuncToString(ExecState* exec, JSObject* thisObj, const ArgList& args)
    146146{
    147147    if (!thisObj->inherits(&NumberObject::info))
     
    208208}
    209209
    210 JSValue* numberProtoFuncToLocaleString(ExecState* exec, JSObject* thisObj, const List&)
     210JSValue* numberProtoFuncToLocaleString(ExecState* exec, JSObject* thisObj, const ArgList&)
    211211{
    212212    if (!thisObj->inherits(&NumberObject::info))
     
    217217}
    218218
    219 JSValue* numberProtoFuncValueOf(ExecState* exec, JSObject* thisObj, const List&)
     219JSValue* numberProtoFuncValueOf(ExecState* exec, JSObject* thisObj, const ArgList&)
    220220{
    221221    if (!thisObj->inherits(&NumberObject::info))
     
    225225}
    226226
    227 JSValue* numberProtoFuncToFixed(ExecState* exec, JSObject* thisObj, const List& args)
     227JSValue* numberProtoFuncToFixed(ExecState* exec, JSObject* thisObj, const ArgList& args)
    228228{
    229229    if (!thisObj->inherits(&NumberObject::info))
     
    311311}
    312312
    313 JSValue* numberProtoFuncToExponential(ExecState* exec, JSObject* thisObj, const List& args)
     313JSValue* numberProtoFuncToExponential(ExecState* exec, JSObject* thisObj, const ArgList& args)
    314314{
    315315    if (!thisObj->inherits(&NumberObject::info))
     
    382382}
    383383
    384 JSValue* numberProtoFuncToPrecision(ExecState* exec, JSObject* thisObj, const List& args)
     384JSValue* numberProtoFuncToPrecision(ExecState* exec, JSObject* thisObj, const ArgList& args)
    385385{
    386386    if (!thisObj->inherits(&NumberObject::info))
     
    502502
    503503// ECMA 15.7.1
    504 JSObject* NumberConstructor::construct(ExecState* exec, const List& args)
     504JSObject* NumberConstructor::construct(ExecState* exec, const ArgList& args)
    505505{
    506506    JSObject* proto = exec->lexicalGlobalObject()->numberPrototype();
     
    514514
    515515// ECMA 15.7.2
    516 JSValue* NumberConstructor::callAsFunction(ExecState* exec, JSObject*, const List& args)
     516JSValue* NumberConstructor::callAsFunction(ExecState* exec, JSObject*, const ArgList& args)
    517517{
    518518    // FIXME: Check args[0]->isUndefined() instead of args.isEmpty()?
  • trunk/JavaScriptCore/kjs/NumberObject.h

    r34582 r34587  
    5757
    5858        virtual ConstructType getConstructData(ConstructData&);
    59         virtual JSObject* construct(ExecState*, const List&);
     59        virtual JSObject* construct(ExecState*, const ArgList&);
    6060
    61         virtual JSValue* callAsFunction(ExecState*, JSObject*, const List&);
     61        virtual JSValue* callAsFunction(ExecState*, JSObject*, const ArgList&);
    6262
    6363        bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&);
     
    6969        enum { NaNValue, NegInfinity, PosInfinity, MaxValue, MinValue };
    7070
    71         JSObject* construct(const List&);
     71        JSObject* construct(const ArgList&);
    7272    };
    7373
  • trunk/JavaScriptCore/kjs/RegExpObject.cpp

    r34582 r34587  
    4040// ------------------------------ RegExpPrototype ---------------------------
    4141
    42 static JSValue* regExpProtoFuncTest(ExecState*, JSObject*, const List&);
    43 static JSValue* regExpProtoFuncExec(ExecState*, JSObject*, const List&);
    44 static JSValue* regExpProtoFuncCompile(ExecState*, JSObject*, const List&);
    45 static JSValue* regExpProtoFuncToString(ExecState*, JSObject*, const List&);
     42static JSValue* regExpProtoFuncTest(ExecState*, JSObject*, const ArgList&);
     43static JSValue* regExpProtoFuncExec(ExecState*, JSObject*, const ArgList&);
     44static JSValue* regExpProtoFuncCompile(ExecState*, JSObject*, const ArgList&);
     45static JSValue* regExpProtoFuncToString(ExecState*, JSObject*, const ArgList&);
    4646
    4747// ECMA 15.10.5
     
    6060// ------------------------------ Functions ---------------------------
    6161   
    62 JSValue* regExpProtoFuncTest(ExecState* exec, JSObject* thisObj, const List& args)
     62JSValue* regExpProtoFuncTest(ExecState* exec, JSObject* thisObj, const ArgList& args)
    6363{
    6464    if (!thisObj->inherits(&RegExpObject::info))
     
    6868}
    6969
    70 JSValue* regExpProtoFuncExec(ExecState* exec, JSObject* thisObj, const List& args)
     70JSValue* regExpProtoFuncExec(ExecState* exec, JSObject* thisObj, const ArgList& args)
    7171{
    7272    if (!thisObj->inherits(&RegExpObject::info))
     
    7676}
    7777
    78 JSValue* regExpProtoFuncCompile(ExecState* exec, JSObject* thisObj, const List& args)
     78JSValue* regExpProtoFuncCompile(ExecState* exec, JSObject* thisObj, const ArgList& args)
    7979{
    8080    if (!thisObj->inherits(&RegExpObject::info))
     
    103103}
    104104
    105 JSValue* regExpProtoFuncToString(ExecState* exec, JSObject* thisObj, const List&)
     105JSValue* regExpProtoFuncToString(ExecState* exec, JSObject* thisObj, const ArgList&)
    106106{
    107107    if (!thisObj->inherits(&RegExpObject::info)) {
     
    182182}
    183183
    184 bool RegExpObject::match(ExecState* exec, const List& args)
     184bool RegExpObject::match(ExecState* exec, const ArgList& args)
    185185{
    186186    RegExpConstructor* regExpObj = exec->lexicalGlobalObject()->regExpConstructor();
     
    219219}
    220220
    221 JSValue* RegExpObject::test(ExecState* exec, const List& args)
     221JSValue* RegExpObject::test(ExecState* exec, const ArgList& args)
    222222{
    223223    return jsBoolean(match(exec, args));
    224224}
    225225
    226 JSValue* RegExpObject::exec(ExecState* exec, const List& args)
     226JSValue* RegExpObject::exec(ExecState* exec, const ArgList& args)
    227227{
    228228    return match(exec, args)
     
    236236}
    237237
    238 JSValue* RegExpObject::callAsFunction(ExecState* exec, JSObject*, const List& args)
     238JSValue* RegExpObject::callAsFunction(ExecState* exec, JSObject*, const ArgList& args)
    239239{
    240240    return RegExpObject::exec(exec, args);
     
    479479
    480480// ECMA 15.10.4
    481 JSObject *RegExpConstructor::construct(ExecState *exec, const List &args)
     481JSObject *RegExpConstructor::construct(ExecState *exec, const ArgList &args)
    482482{
    483483  JSValue* arg0 = args[0];
     
    500500
    501501// ECMA 15.10.3
    502 JSValue *RegExpConstructor::callAsFunction(ExecState *exec, JSObject * /*thisObj*/, const List &args)
     502JSValue *RegExpConstructor::callAsFunction(ExecState *exec, JSObject * /*thisObj*/, const ArgList &args)
    503503{
    504504  return construct(exec, args);
  • trunk/JavaScriptCore/kjs/RegExpObject.h

    r34582 r34587  
    4747        RegExp* regExp() const { return m_regExp.get(); }
    4848
    49         JSValue* test(ExecState*, const List& args);
    50         JSValue* exec(ExecState*, const List& args);
     49        JSValue* test(ExecState*, const ArgList& args);
     50        JSValue* exec(ExecState*, const ArgList& args);
    5151
    5252        virtual CallType getCallData(CallData&);
    53         virtual JSValue* callAsFunction(ExecState*, JSObject*, const List&);
     53        virtual JSValue* callAsFunction(ExecState*, JSObject*, const ArgList&);
    5454
    5555        bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&);
     
    6464
    6565    private:
    66         bool match(ExecState*, const List& args);
     66        bool match(ExecState*, const ArgList& args);
    6767
    6868        RefPtr<RegExp> m_regExp;
     
    7878
    7979        virtual ConstructType getConstructData(ConstructData&);
    80         virtual JSObject* construct(ExecState*, const List&);
     80        virtual JSObject* construct(ExecState*, const ArgList&);
    8181
    82         virtual JSValue* callAsFunction(ExecState*, JSObject*, const List&);
     82        virtual JSValue* callAsFunction(ExecState*, JSObject*, const ArgList&);
    8383
    8484        virtual void put(ExecState*, const Identifier&, JSValue*);
  • trunk/JavaScriptCore/kjs/Shell.cpp

    r34582 r34587  
    7272static bool fillBufferWithContentsOfFile(const UString& fileName, Vector<char>& buffer);
    7373
    74 static JSValue* functionPrint(ExecState*, JSObject*, const List&);
    75 static JSValue* functionDebug(ExecState*, JSObject*, const List&);
    76 static JSValue* functionGC(ExecState*, JSObject*, const List&);
    77 static JSValue* functionVersion(ExecState*, JSObject*, const List&);
    78 static JSValue* functionRun(ExecState*, JSObject*, const List&);
    79 static JSValue* functionLoad(ExecState*, JSObject*, const List&);
    80 static JSValue* functionReadline(ExecState*, JSObject*, const List&);
    81 static JSValue* functionQuit(ExecState*, JSObject*, const List&);
     74static JSValue* functionPrint(ExecState*, JSObject*, const ArgList&);
     75static JSValue* functionDebug(ExecState*, JSObject*, const ArgList&);
     76static JSValue* functionGC(ExecState*, JSObject*, const ArgList&);
     77static JSValue* functionVersion(ExecState*, JSObject*, const ArgList&);
     78static JSValue* functionRun(ExecState*, JSObject*, const ArgList&);
     79static JSValue* functionLoad(ExecState*, JSObject*, const ArgList&);
     80static JSValue* functionReadline(ExecState*, JSObject*, const ArgList&);
     81static JSValue* functionQuit(ExecState*, JSObject*, const ArgList&);
    8282
    8383struct Options {
     
    181181}
    182182
    183 JSValue* functionPrint(ExecState* exec, JSObject*, const List& args)
     183JSValue* functionPrint(ExecState* exec, JSObject*, const ArgList& args)
    184184{
    185185    for (unsigned i = 0; i < args.size(); ++i) {
     
    195195}
    196196
    197 JSValue* functionDebug(ExecState* exec, JSObject*, const List& args)
     197JSValue* functionDebug(ExecState* exec, JSObject*, const ArgList& args)
    198198{
    199199    fprintf(stderr, "--> %s\n", args[0]->toString(exec).UTF8String().c_str());
     
    201201}
    202202
    203 JSValue* functionGC(ExecState*, JSObject*, const List&)
     203JSValue* functionGC(ExecState*, JSObject*, const ArgList&)
    204204{
    205205    JSLock lock;
     
    208208}
    209209
    210 JSValue* functionVersion(ExecState*, JSObject*, const List&)
     210JSValue* functionVersion(ExecState*, JSObject*, const ArgList&)
    211211{
    212212    // We need this function for compatibility with the Mozilla JS tests but for now
     
    215215}
    216216
    217 JSValue* functionRun(ExecState* exec, JSObject*, const List& args)
     217JSValue* functionRun(ExecState* exec, JSObject*, const ArgList& args)
    218218{
    219219    StopWatch stopWatch;
     
    232232}
    233233
    234 JSValue* functionLoad(ExecState* exec, JSObject*, const List& args)
     234JSValue* functionLoad(ExecState* exec, JSObject*, const ArgList& args)
    235235{
    236236    UString fileName = args[0]->toString(exec);
     
    245245}
    246246
    247 JSValue* functionReadline(ExecState*, JSObject*, const List&)
     247JSValue* functionReadline(ExecState*, JSObject*, const ArgList&)
    248248{
    249249    Vector<char, 256> line;
     
    259259}
    260260
    261 JSValue* functionQuit(ExecState*, JSObject*, const List&)
     261JSValue* functionQuit(ExecState*, JSObject*, const ArgList&)
    262262{
    263263    exit(0);
  • trunk/JavaScriptCore/kjs/collector.cpp

    r34581 r34587  
    8989
    9090size_t Collector::mainThreadOnlyObjectCount = 0;
    91 HashSet<List*>* Collector::m_markListSet;
     91HashSet<ArgList*>* Collector::m_markListSet;
    9292
    9393static CollectorBlock* allocateBlock()
     
    958958    markProtectedObjects();
    959959    if (m_markListSet && m_markListSet->size())
    960         List::markLists(*m_markListSet);
     960        ArgList::markLists(*m_markListSet);
    961961#if USE(MULTIPLE_THREADS)
    962962    if (!currentThreadIsMainThread)
  • trunk/JavaScriptCore/kjs/collector.h

    r34514 r34587  
    3232    class JSCell;
    3333    class JSValue;
    34     class List;
     34    class ArgList;
    3535
    3636    class Collector {
     
    7979        static void markStackObjectsConservatively(void* start, void* end);
    8080
    81         static HashSet<List*>& markListSet() { if (!m_markListSet) m_markListSet = new HashSet<List*>; return *m_markListSet; }
     81        static HashSet<ArgList*>& markListSet() { if (!m_markListSet) m_markListSet = new HashSet<ArgList*>; return *m_markListSet; }
    8282
    8383    private:
     
    101101        static bool memoryFull;
    102102
    103         static HashSet<List*>* m_markListSet;
     103        static HashSet<ArgList*>* m_markListSet;
    104104    };
    105105
  • trunk/JavaScriptCore/kjs/date_object.cpp

    r34581 r34587  
    8787    DateFunction(ExecState *, FunctionPrototype *, int i, int len, const Identifier& );
    8888
    89     virtual JSValue *callAsFunction(ExecState *, JSObject *thisObj, const List &args);
     89    virtual JSValue *callAsFunction(ExecState *, JSObject *thisObj, const ArgList &args);
    9090
    9191    enum { Parse, UTC, Now };
     
    117117}
    118118
    119 static UString formatLocaleDate(ExecState *exec, double time, bool includeDate, bool includeTime, const List &args)
     119static UString formatLocaleDate(ExecState *exec, double time, bool includeDate, bool includeTime, const ArgList &args)
    120120{
    121121    CFDateFormatterStyle dateStyle = (includeDate ? kCFDateFormatterLongStyle : kCFDateFormatterNoStyle);
     
    254254//
    255255// Format of member function: f([hour,] [min,] [sec,] [ms])
    256 static bool fillStructuresUsingTimeArgs(ExecState* exec, const List& args, int maxArgs, double* ms, GregorianDateTime* t)
     256static bool fillStructuresUsingTimeArgs(ExecState* exec, const ArgList& args, int maxArgs, double* ms, GregorianDateTime* t)
    257257{
    258258    double milliseconds = 0;
     
    302302//
    303303// Format of member function: f([years,] [months,] [days])
    304 static bool fillStructuresUsingDateArgs(ExecState *exec, const List &args, int maxArgs, double *ms, GregorianDateTime *t)
     304static bool fillStructuresUsingDateArgs(ExecState *exec, const ArgList &args, int maxArgs, double *ms, GregorianDateTime *t)
    305305{
    306306    int idx = 0;
     
    502502
    503503// ECMA 15.9.3
    504 JSObject *DateConstructor::construct(ExecState *exec, const List &args)
     504JSObject *DateConstructor::construct(ExecState *exec, const ArgList &args)
    505505{
    506506  int numArgs = args.size();
     
    550550
    551551// ECMA 15.9.2
    552 JSValue *DateConstructor::callAsFunction(ExecState * /*exec*/, JSObject * /*thisObj*/, const List &/*args*/)
     552JSValue *DateConstructor::callAsFunction(ExecState * /*exec*/, JSObject * /*thisObj*/, const ArgList &/*args*/)
    553553{
    554554    time_t localTime = time(0);
     
    568568
    569569// ECMA 15.9.4.2 - 3
    570 JSValue *DateFunction::callAsFunction(ExecState* exec, JSObject*, const List& args)
     570JSValue *DateFunction::callAsFunction(ExecState* exec, JSObject*, const ArgList& args)
    571571{
    572572  if (id == Parse)
     
    979979// Functions
    980980
    981 JSValue* dateProtoFuncToString(ExecState* exec, JSObject* thisObj, const List&)
     981JSValue* dateProtoFuncToString(ExecState* exec, JSObject* thisObj, const ArgList&)
    982982{
    983983    if (!thisObj->inherits(&DateInstance::info))
     
    997997}
    998998
    999 JSValue* dateProtoFuncToUTCString(ExecState* exec, JSObject* thisObj, const List&)
     999JSValue* dateProtoFuncToUTCString(ExecState* exec, JSObject* thisObj, const ArgList&)
    10001000{
    10011001    if (!thisObj->inherits(&DateInstance::info))
     
    10151015}
    10161016
    1017 JSValue* dateProtoFuncToDateString(ExecState* exec, JSObject* thisObj, const List&)
     1017JSValue* dateProtoFuncToDateString(ExecState* exec, JSObject* thisObj, const ArgList&)
    10181018{
    10191019    if (!thisObj->inherits(&DateInstance::info))
     
    10331033}
    10341034
    1035 JSValue* dateProtoFuncToTimeString(ExecState* exec, JSObject* thisObj, const List&)
     1035JSValue* dateProtoFuncToTimeString(ExecState* exec, JSObject* thisObj, const ArgList&)
    10361036{
    10371037    if (!thisObj->inherits(&DateInstance::info))
     
    10511051}
    10521052
    1053 JSValue* dateProtoFuncToLocaleString(ExecState* exec, JSObject* thisObj, const List& args)
     1053JSValue* dateProtoFuncToLocaleString(ExecState* exec, JSObject* thisObj, const ArgList& args)
    10541054{
    10551055    if (!thisObj->inherits(&DateInstance::info))
     
    10761076}
    10771077
    1078 JSValue* dateProtoFuncToLocaleDateString(ExecState* exec, JSObject* thisObj, const List& args)
     1078JSValue* dateProtoFuncToLocaleDateString(ExecState* exec, JSObject* thisObj, const ArgList& args)
    10791079{
    10801080    if (!thisObj->inherits(&DateInstance::info))
     
    11011101}
    11021102
    1103 JSValue* dateProtoFuncToLocaleTimeString(ExecState* exec, JSObject* thisObj, const List& args)
     1103JSValue* dateProtoFuncToLocaleTimeString(ExecState* exec, JSObject* thisObj, const ArgList& args)
    11041104{
    11051105    if (!thisObj->inherits(&DateInstance::info))
     
    11261126}
    11271127
    1128 JSValue* dateProtoFuncValueOf(ExecState* exec, JSObject* thisObj, const List&)
     1128JSValue* dateProtoFuncValueOf(ExecState* exec, JSObject* thisObj, const ArgList&)
    11291129{
    11301130    if (!thisObj->inherits(&DateInstance::info))
     
    11401140}
    11411141
    1142 JSValue* dateProtoFuncGetTime(ExecState* exec, JSObject* thisObj, const List&)
     1142JSValue* dateProtoFuncGetTime(ExecState* exec, JSObject* thisObj, const ArgList&)
    11431143{
    11441144    if (!thisObj->inherits(&DateInstance::info))
     
    11541154}
    11551155
    1156 JSValue* dateProtoFuncGetFullYear(ExecState* exec, JSObject* thisObj, const List&)
     1156JSValue* dateProtoFuncGetFullYear(ExecState* exec, JSObject* thisObj, const ArgList&)
    11571157{
    11581158    if (!thisObj->inherits(&DateInstance::info))
     
    11721172}
    11731173
    1174 JSValue* dateProtoFuncGetUTCFullYear(ExecState* exec, JSObject* thisObj, const List&)
     1174JSValue* dateProtoFuncGetUTCFullYear(ExecState* exec, JSObject* thisObj, const ArgList&)
    11751175{
    11761176    if (!thisObj->inherits(&DateInstance::info))
     
    11901190}
    11911191
    1192 JSValue* dateProtoFuncToGMTString(ExecState* exec, JSObject* thisObj, const List&)
     1192JSValue* dateProtoFuncToGMTString(ExecState* exec, JSObject* thisObj, const ArgList&)
    11931193{
    11941194    if (!thisObj->inherits(&DateInstance::info))
     
    12081208}
    12091209
    1210 JSValue* dateProtoFuncGetMonth(ExecState* exec, JSObject* thisObj, const List&)
     1210JSValue* dateProtoFuncGetMonth(ExecState* exec, JSObject* thisObj, const ArgList&)
    12111211{
    12121212    if (!thisObj->inherits(&DateInstance::info))
     
    12261226}
    12271227
    1228 JSValue* dateProtoFuncGetUTCMonth(ExecState* exec, JSObject* thisObj, const List&)
     1228JSValue* dateProtoFuncGetUTCMonth(ExecState* exec, JSObject* thisObj, const ArgList&)
    12291229{
    12301230    if (!thisObj->inherits(&DateInstance::info))
     
    12441244}
    12451245
    1246 JSValue* dateProtoFuncGetDate(ExecState* exec, JSObject* thisObj, const List&)
     1246JSValue* dateProtoFuncGetDate(ExecState* exec, JSObject* thisObj, const ArgList&)
    12471247{
    12481248    if (!thisObj->inherits(&DateInstance::info))
     
    12621262}
    12631263
    1264 JSValue* dateProtoFuncGetUTCDate(ExecState* exec, JSObject* thisObj, const List&)
     1264JSValue* dateProtoFuncGetUTCDate(ExecState* exec, JSObject* thisObj, const ArgList&)
    12651265{
    12661266    if (!thisObj->inherits(&DateInstance::info))
     
    12801280}
    12811281
    1282 JSValue* dateProtoFuncGetDay(ExecState* exec, JSObject* thisObj, const List&)
     1282JSValue* dateProtoFuncGetDay(ExecState* exec, JSObject* thisObj, const ArgList&)
    12831283{
    12841284    if (!thisObj->inherits(&DateInstance::info))
     
    12981298}
    12991299
    1300 JSValue* dateProtoFuncGetUTCDay(ExecState* exec, JSObject* thisObj, const List&)
     1300JSValue* dateProtoFuncGetUTCDay(ExecState* exec, JSObject* thisObj, const ArgList&)
    13011301{
    13021302    if (!thisObj->inherits(&DateInstance::info))
     
    13161316}
    13171317
    1318 JSValue* dateProtoFuncGetHours(ExecState* exec, JSObject* thisObj, const List&)
     1318JSValue* dateProtoFuncGetHours(ExecState* exec, JSObject* thisObj, const ArgList&)
    13191319{
    13201320    if (!thisObj->inherits(&DateInstance::info))
     
    13341334}
    13351335
    1336 JSValue* dateProtoFuncGetUTCHours(ExecState* exec, JSObject* thisObj, const List&)
     1336JSValue* dateProtoFuncGetUTCHours(ExecState* exec, JSObject* thisObj, const ArgList&)
    13371337{
    13381338    if (!thisObj->inherits(&DateInstance::info))
     
    13521352}
    13531353
    1354 JSValue* dateProtoFuncGetMinutes(ExecState* exec, JSObject* thisObj, const List&)
     1354JSValue* dateProtoFuncGetMinutes(ExecState* exec, JSObject* thisObj, const ArgList&)
    13551355{
    13561356    if (!thisObj->inherits(&DateInstance::info))
     
    13701370}
    13711371
    1372 JSValue* dateProtoFuncGetUTCMinutes(ExecState* exec, JSObject* thisObj, const List&)
     1372JSValue* dateProtoFuncGetUTCMinutes(ExecState* exec, JSObject* thisObj, const ArgList&)
    13731373{
    13741374    if (!thisObj->inherits(&DateInstance::info))
     
    13881388}
    13891389
    1390 JSValue* dateProtoFuncGetSeconds(ExecState* exec, JSObject* thisObj, const List&)
     1390JSValue* dateProtoFuncGetSeconds(ExecState* exec, JSObject* thisObj, const ArgList&)
    13911391{
    13921392    if (!thisObj->inherits(&DateInstance::info))
     
    14061406}
    14071407
    1408 JSValue* dateProtoFuncGetUTCSeconds(ExecState* exec, JSObject* thisObj, const List&)
     1408JSValue* dateProtoFuncGetUTCSeconds(ExecState* exec, JSObject* thisObj, const ArgList&)
    14091409{
    14101410    if (!thisObj->inherits(&DateInstance::info))
     
    14241424}
    14251425
    1426 JSValue* dateProtoFuncGetMilliSeconds(ExecState* exec, JSObject* thisObj, const List&)
     1426JSValue* dateProtoFuncGetMilliSeconds(ExecState* exec, JSObject* thisObj, const ArgList&)
    14271427{
    14281428    if (!thisObj->inherits(&DateInstance::info))
     
    14401440}
    14411441
    1442 JSValue* dateProtoFuncGetUTCMilliseconds(ExecState* exec, JSObject* thisObj, const List&)
     1442JSValue* dateProtoFuncGetUTCMilliseconds(ExecState* exec, JSObject* thisObj, const ArgList&)
    14431443{
    14441444    if (!thisObj->inherits(&DateInstance::info))
     
    14561456}
    14571457
    1458 JSValue* dateProtoFuncGetTimezoneOffset(ExecState* exec, JSObject* thisObj, const List&)
     1458JSValue* dateProtoFuncGetTimezoneOffset(ExecState* exec, JSObject* thisObj, const ArgList&)
    14591459{
    14601460    if (!thisObj->inherits(&DateInstance::info))
     
    14741474}
    14751475
    1476 JSValue* dateProtoFuncSetTime(ExecState* exec, JSObject* thisObj, const List& args)
     1476JSValue* dateProtoFuncSetTime(ExecState* exec, JSObject* thisObj, const ArgList& args)
    14771477{
    14781478    if (!thisObj->inherits(&DateInstance::info))
     
    14871487}
    14881488
    1489 static JSValue* setNewValueFromTimeArgs(ExecState* exec, JSObject* thisObj, const List& args, int numArgsToUse, bool inputIsUTC)
     1489static JSValue* setNewValueFromTimeArgs(ExecState* exec, JSObject* thisObj, const ArgList& args, int numArgsToUse, bool inputIsUTC)
    14901490{
    14911491    if (!thisObj->inherits(&DateInstance::info))
     
    15191519}
    15201520
    1521 static JSValue* setNewValueFromDateArgs(ExecState* exec, JSObject* thisObj, const List& args, int numArgsToUse, bool inputIsUTC)
     1521static JSValue* setNewValueFromDateArgs(ExecState* exec, JSObject* thisObj, const ArgList& args, int numArgsToUse, bool inputIsUTC)
    15221522{
    15231523    if (!thisObj->inherits(&DateInstance::info))
     
    15571557}
    15581558
    1559 JSValue* dateProtoFuncSetMilliSeconds(ExecState* exec, JSObject* thisObj, const List& args)
     1559JSValue* dateProtoFuncSetMilliSeconds(ExecState* exec, JSObject* thisObj, const ArgList& args)
    15601560{
    15611561    const bool inputIsUTC = false;
     
    15631563}
    15641564
    1565 JSValue* dateProtoFuncSetUTCMilliseconds(ExecState* exec, JSObject* thisObj, const List& args)
     1565JSValue* dateProtoFuncSetUTCMilliseconds(ExecState* exec, JSObject* thisObj, const ArgList& args)
    15661566{
    15671567    const bool inputIsUTC = true;
     
    15691569}
    15701570
    1571 JSValue* dateProtoFuncSetSeconds(ExecState* exec, JSObject* thisObj, const List& args)
     1571JSValue* dateProtoFuncSetSeconds(ExecState* exec, JSObject* thisObj, const ArgList& args)
    15721572{
    15731573    const bool inputIsUTC = false;
     
    15751575}
    15761576
    1577 JSValue* dateProtoFuncSetUTCSeconds(ExecState* exec, JSObject* thisObj, const List& args)
     1577JSValue* dateProtoFuncSetUTCSeconds(ExecState* exec, JSObject* thisObj, const ArgList& args)
    15781578{
    15791579    const bool inputIsUTC = true;
     
    15811581}
    15821582
    1583 JSValue* dateProtoFuncSetMinutes(ExecState* exec, JSObject* thisObj, const List& args)
     1583JSValue* dateProtoFuncSetMinutes(ExecState* exec, JSObject* thisObj, const ArgList& args)
    15841584{
    15851585    const bool inputIsUTC = false;
     
    15871587}
    15881588
    1589 JSValue* dateProtoFuncSetUTCMinutes(ExecState* exec, JSObject* thisObj, const List& args)
     1589JSValue* dateProtoFuncSetUTCMinutes(ExecState* exec, JSObject* thisObj, const ArgList& args)
    15901590{
    15911591    const bool inputIsUTC = true;
     
    15931593}
    15941594
    1595 JSValue* dateProtoFuncSetHours(ExecState* exec, JSObject* thisObj, const List& args)
     1595JSValue* dateProtoFuncSetHours(ExecState* exec, JSObject* thisObj, const ArgList& args)
    15961596{
    15971597    const bool inputIsUTC = false;
     
    15991599}
    16001600
    1601 JSValue* dateProtoFuncSetUTCHours(ExecState* exec, JSObject* thisObj, const List& args)
     1601JSValue* dateProtoFuncSetUTCHours(ExecState* exec, JSObject* thisObj, const ArgList& args)
    16021602{
    16031603    const bool inputIsUTC = true;
     
    16051605}
    16061606
    1607 JSValue* dateProtoFuncSetDate(ExecState* exec, JSObject* thisObj, const List& args)
     1607JSValue* dateProtoFuncSetDate(ExecState* exec, JSObject* thisObj, const ArgList& args)
    16081608{
    16091609    const bool inputIsUTC = false;
     
    16111611}
    16121612
    1613 JSValue* dateProtoFuncSetUTCDate(ExecState* exec, JSObject* thisObj, const List& args)
     1613JSValue* dateProtoFuncSetUTCDate(ExecState* exec, JSObject* thisObj, const ArgList& args)
    16141614{
    16151615    const bool inputIsUTC = true;
     
    16171617}
    16181618
    1619 JSValue* dateProtoFuncSetMonth(ExecState* exec, JSObject* thisObj, const List& args)
     1619JSValue* dateProtoFuncSetMonth(ExecState* exec, JSObject* thisObj, const ArgList& args)
    16201620{
    16211621    const bool inputIsUTC = false;
     
    16231623}
    16241624
    1625 JSValue* dateProtoFuncSetUTCMonth(ExecState* exec, JSObject* thisObj, const List& args)
     1625JSValue* dateProtoFuncSetUTCMonth(ExecState* exec, JSObject* thisObj, const ArgList& args)
    16261626{
    16271627    const bool inputIsUTC = true;
     
    16291629}
    16301630
    1631 JSValue* dateProtoFuncSetFullYear(ExecState* exec, JSObject* thisObj, const List& args)
     1631JSValue* dateProtoFuncSetFullYear(ExecState* exec, JSObject* thisObj, const ArgList& args)
    16321632{
    16331633    const bool inputIsUTC = false;
     
    16351635}
    16361636
    1637 JSValue* dateProtoFuncSetUTCFullYear(ExecState* exec, JSObject* thisObj, const List& args)
     1637JSValue* dateProtoFuncSetUTCFullYear(ExecState* exec, JSObject* thisObj, const ArgList& args)
    16381638{
    16391639    const bool inputIsUTC = true;
     
    16411641}
    16421642
    1643 JSValue* dateProtoFuncSetYear(ExecState* exec, JSObject* thisObj, const List& args)
     1643JSValue* dateProtoFuncSetYear(ExecState* exec, JSObject* thisObj, const ArgList& args)
    16441644{
    16451645    if (!thisObj->inherits(&DateInstance::info))
     
    16841684}
    16851685
    1686 JSValue* dateProtoFuncGetYear(ExecState* exec, JSObject* thisObj, const List&)
     1686JSValue* dateProtoFuncGetYear(ExecState* exec, JSObject* thisObj, const ArgList&)
    16871687{
    16881688    if (!thisObj->inherits(&DateInstance::info))
  • trunk/JavaScriptCore/kjs/date_object.h

    r34581 r34587  
    7676    // GetYear, SetYear, ToGMTString
    7777
    78     JSValue* dateProtoFuncToString(ExecState*, JSObject*, const List&);
    79     JSValue* dateProtoFuncToUTCString(ExecState*, JSObject*, const List&);
    80     JSValue* dateProtoFuncToDateString(ExecState*, JSObject*, const List&);
    81     JSValue* dateProtoFuncToTimeString(ExecState*, JSObject*, const List&);
    82     JSValue* dateProtoFuncToLocaleString(ExecState*, JSObject*, const List&);
    83     JSValue* dateProtoFuncToLocaleDateString(ExecState*, JSObject*, const List&);
    84     JSValue* dateProtoFuncToLocaleTimeString(ExecState*, JSObject*, const List&);
    85     JSValue* dateProtoFuncValueOf(ExecState*, JSObject*, const List&);
    86     JSValue* dateProtoFuncGetTime(ExecState*, JSObject*, const List&);
    87     JSValue* dateProtoFuncGetFullYear(ExecState*, JSObject*, const List&);
    88     JSValue* dateProtoFuncGetUTCFullYear(ExecState*, JSObject*, const List&);
    89     JSValue* dateProtoFuncToGMTString(ExecState*, JSObject*, const List&);
    90     JSValue* dateProtoFuncGetMonth(ExecState*, JSObject*, const List&);
    91     JSValue* dateProtoFuncGetUTCMonth(ExecState*, JSObject*, const List&);
    92     JSValue* dateProtoFuncGetDate(ExecState*, JSObject*, const List&);
    93     JSValue* dateProtoFuncGetUTCDate(ExecState*, JSObject*, const List&);
    94     JSValue* dateProtoFuncGetDay(ExecState*, JSObject*, const List&);
    95     JSValue* dateProtoFuncGetUTCDay(ExecState*, JSObject*, const List&);
    96     JSValue* dateProtoFuncGetHours(ExecState*, JSObject*, const List&);
    97     JSValue* dateProtoFuncGetUTCHours(ExecState*, JSObject*, const List&);
    98     JSValue* dateProtoFuncGetMinutes(ExecState*, JSObject*, const List&);
    99     JSValue* dateProtoFuncGetUTCMinutes(ExecState*, JSObject*, const List&);
    100     JSValue* dateProtoFuncGetSeconds(ExecState*, JSObject*, const List&);
    101     JSValue* dateProtoFuncGetUTCSeconds(ExecState*, JSObject*, const List&);
    102     JSValue* dateProtoFuncGetMilliSeconds(ExecState*, JSObject*, const List&);
    103     JSValue* dateProtoFuncGetUTCMilliseconds(ExecState*, JSObject*, const List&);
    104     JSValue* dateProtoFuncGetTimezoneOffset(ExecState*, JSObject*, const List&);
    105     JSValue* dateProtoFuncSetTime(ExecState*, JSObject*, const List&);
    106     JSValue* dateProtoFuncSetMilliSeconds(ExecState*, JSObject*, const List&);
    107     JSValue* dateProtoFuncSetUTCMilliseconds(ExecState*, JSObject*, const List&);
    108     JSValue* dateProtoFuncSetSeconds(ExecState*, JSObject*, const List&);
    109     JSValue* dateProtoFuncSetUTCSeconds(ExecState*, JSObject*, const List&);
    110     JSValue* dateProtoFuncSetMinutes(ExecState*, JSObject*, const List&);
    111     JSValue* dateProtoFuncSetUTCMinutes(ExecState*, JSObject*, const List&);
    112     JSValue* dateProtoFuncSetHours(ExecState*, JSObject*, const List&);
    113     JSValue* dateProtoFuncSetUTCHours(ExecState*, JSObject*, const List&);
    114     JSValue* dateProtoFuncSetDate(ExecState*, JSObject*, const List&);
    115     JSValue* dateProtoFuncSetUTCDate(ExecState*, JSObject*, const List&);
    116     JSValue* dateProtoFuncSetMonth(ExecState*, JSObject*, const List&);
    117     JSValue* dateProtoFuncSetUTCMonth(ExecState*, JSObject*, const List&);
    118     JSValue* dateProtoFuncSetFullYear(ExecState*, JSObject*, const List&);
    119     JSValue* dateProtoFuncSetUTCFullYear(ExecState*, JSObject*, const List&);
    120     JSValue* dateProtoFuncSetYear(ExecState*, JSObject*, const List&);
    121     JSValue* dateProtoFuncGetYear(ExecState*, JSObject*, const List&);
     78    JSValue* dateProtoFuncToString(ExecState*, JSObject*, const ArgList&);
     79    JSValue* dateProtoFuncToUTCString(ExecState*, JSObject*, const ArgList&);
     80    JSValue* dateProtoFuncToDateString(ExecState*, JSObject*, const ArgList&);
     81    JSValue* dateProtoFuncToTimeString(ExecState*, JSObject*, const ArgList&);
     82    JSValue* dateProtoFuncToLocaleString(ExecState*, JSObject*, const ArgList&);
     83    JSValue* dateProtoFuncToLocaleDateString(ExecState*, JSObject*, const ArgList&);
     84    JSValue* dateProtoFuncToLocaleTimeString(ExecState*, JSObject*, const ArgList&);
     85    JSValue* dateProtoFuncValueOf(ExecState*, JSObject*, const ArgList&);
     86    JSValue* dateProtoFuncGetTime(ExecState*, JSObject*, const ArgList&);
     87    JSValue* dateProtoFuncGetFullYear(ExecState*, JSObject*, const ArgList&);
     88    JSValue* dateProtoFuncGetUTCFullYear(ExecState*, JSObject*, const ArgList&);
     89    JSValue* dateProtoFuncToGMTString(ExecState*, JSObject*, const ArgList&);
     90    JSValue* dateProtoFuncGetMonth(ExecState*, JSObject*, const ArgList&);
     91    JSValue* dateProtoFuncGetUTCMonth(ExecState*, JSObject*, const ArgList&);
     92    JSValue* dateProtoFuncGetDate(ExecState*, JSObject*, const ArgList&);
     93    JSValue* dateProtoFuncGetUTCDate(ExecState*, JSObject*, const ArgList&);
     94    JSValue* dateProtoFuncGetDay(ExecState*, JSObject*, const ArgList&);
     95    JSValue* dateProtoFuncGetUTCDay(ExecState*, JSObject*, const ArgList&);
     96    JSValue* dateProtoFuncGetHours(ExecState*, JSObject*, const ArgList&);
     97    JSValue* dateProtoFuncGetUTCHours(ExecState*, JSObject*, const ArgList&);
     98    JSValue* dateProtoFuncGetMinutes(ExecState*, JSObject*, const ArgList&);
     99    JSValue* dateProtoFuncGetUTCMinutes(ExecState*, JSObject*, const ArgList&);
     100    JSValue* dateProtoFuncGetSeconds(ExecState*, JSObject*, const ArgList&);
     101    JSValue* dateProtoFuncGetUTCSeconds(ExecState*, JSObject*, const ArgList&);
     102    JSValue* dateProtoFuncGetMilliSeconds(ExecState*, JSObject*, const ArgList&);
     103    JSValue* dateProtoFuncGetUTCMilliseconds(ExecState*, JSObject*, const ArgList&);
     104    JSValue* dateProtoFuncGetTimezoneOffset(ExecState*, JSObject*, const ArgList&);
     105    JSValue* dateProtoFuncSetTime(ExecState*, JSObject*, const ArgList&);
     106    JSValue* dateProtoFuncSetMilliSeconds(ExecState*, JSObject*, const ArgList&);
     107    JSValue* dateProtoFuncSetUTCMilliseconds(ExecState*, JSObject*, const ArgList&);
     108    JSValue* dateProtoFuncSetSeconds(ExecState*, JSObject*, const ArgList&);
     109    JSValue* dateProtoFuncSetUTCSeconds(ExecState*, JSObject*, const ArgList&);
     110    JSValue* dateProtoFuncSetMinutes(ExecState*, JSObject*, const ArgList&);
     111    JSValue* dateProtoFuncSetUTCMinutes(ExecState*, JSObject*, const ArgList&);
     112    JSValue* dateProtoFuncSetHours(ExecState*, JSObject*, const ArgList&);
     113    JSValue* dateProtoFuncSetUTCHours(ExecState*, JSObject*, const ArgList&);
     114    JSValue* dateProtoFuncSetDate(ExecState*, JSObject*, const ArgList&);
     115    JSValue* dateProtoFuncSetUTCDate(ExecState*, JSObject*, const ArgList&);
     116    JSValue* dateProtoFuncSetMonth(ExecState*, JSObject*, const ArgList&);
     117    JSValue* dateProtoFuncSetUTCMonth(ExecState*, JSObject*, const ArgList&);
     118    JSValue* dateProtoFuncSetFullYear(ExecState*, JSObject*, const ArgList&);
     119    JSValue* dateProtoFuncSetUTCFullYear(ExecState*, JSObject*, const ArgList&);
     120    JSValue* dateProtoFuncSetYear(ExecState*, JSObject*, const ArgList&);
     121    JSValue* dateProtoFuncGetYear(ExecState*, JSObject*, const ArgList&);
    122122
    123123    /**
     
    131131
    132132        virtual ConstructType getConstructData(ConstructData&);
    133         virtual JSObject* construct(ExecState*, const List& args);
     133        virtual JSObject* construct(ExecState*, const ArgList& args);
    134134
    135         virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const List& args);
     135        virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const ArgList& args);
    136136
    137         JSObject* construct(const List&);
     137        JSObject* construct(const ArgList&);
    138138    };
    139139
  • trunk/JavaScriptCore/kjs/debugger.h

    r34351 r34587  
    3434  class JSObject;
    3535  class JSValue;
    36   class List;
     36  class ArgList;
    3737  class SourceProvider;
    3838  class UString;
  • trunk/JavaScriptCore/kjs/error_object.cpp

    r34581 r34587  
    5353}
    5454
    55 JSValue* errorProtoFuncToString(ExecState* exec, JSObject* thisObj, const List&)
     55JSValue* errorProtoFuncToString(ExecState* exec, JSObject* thisObj, const ArgList&)
    5656{
    5757    UString s = "Error";
     
    8585
    8686// ECMA 15.9.3
    87 JSObject* ErrorConstructor::construct(ExecState* exec, const List& args)
     87JSObject* ErrorConstructor::construct(ExecState* exec, const ArgList& args)
    8888{
    8989    JSObject* proto = static_cast<JSObject*>(exec->lexicalGlobalObject()->errorPrototype());
     
    9898
    9999// ECMA 15.9.2
    100 JSValue* ErrorConstructor::callAsFunction(ExecState* exec, JSObject* /*thisObj*/, const List& args)
     100JSValue* ErrorConstructor::callAsFunction(ExecState* exec, JSObject* /*thisObj*/, const ArgList& args)
    101101{
    102102    // "Error()" gives the sames result as "new Error()"
     
    130130}
    131131
    132 JSObject* NativeErrorConstructor::construct(ExecState* exec, const List& args)
     132JSObject* NativeErrorConstructor::construct(ExecState* exec, const ArgList& args)
    133133{
    134134    JSObject* imp = new ErrorInstance(proto);
     
    139139}
    140140
    141 JSValue* NativeErrorConstructor::callAsFunction(ExecState* exec, JSObject*, const List& args)
     141JSValue* NativeErrorConstructor::callAsFunction(ExecState* exec, JSObject*, const ArgList& args)
    142142{
    143143    return construct(exec, args);
  • trunk/JavaScriptCore/kjs/error_object.h

    r34582 r34587  
    3939    };
    4040
    41     JSValue* errorProtoFuncToString(ExecState*, JSObject*, const List&);
     41    JSValue* errorProtoFuncToString(ExecState*, JSObject*, const ArgList&);
    4242
    4343    class ErrorConstructor : public InternalFunction {
     
    4646
    4747        virtual ConstructType getConstructData(ConstructData&);
    48         virtual JSObject* construct(ExecState*, const List&);
     48        virtual JSObject* construct(ExecState*, const ArgList&);
    4949
    50         virtual JSValue* callAsFunction(ExecState*, JSObject*, const List&);
     50        virtual JSValue* callAsFunction(ExecState*, JSObject*, const ArgList&);
    5151    };
    5252
     
    6161
    6262        virtual ConstructType getConstructData(ConstructData&);
    63         virtual JSObject* construct(ExecState*, const List&);
     63        virtual JSObject* construct(ExecState*, const ArgList&);
    6464
    65         virtual JSValue* callAsFunction(ExecState*, JSObject*, const List&);
     65        virtual JSValue* callAsFunction(ExecState*, JSObject*, const ArgList&);
    6666
    6767        virtual void mark();
  • trunk/JavaScriptCore/kjs/internal.cpp

    r34582 r34587  
    178178JSObject *JSNumberCell::toObject(ExecState *exec) const
    179179{
    180   List args;
     180  ArgList args;
    181181  args.append(const_cast<JSNumberCell*>(this));
    182182  return static_cast<JSObject *>(exec->lexicalGlobalObject()->numberConstructor()->construct(exec,args));
     
    185185JSObject* JSNumberCell::toThisObject(ExecState* exec) const
    186186{
    187     List args;
     187    ArgList args;
    188188    args.append(const_cast<JSNumberCell*>(this));
    189189    return static_cast<JSObject*>(exec->lexicalGlobalObject()->numberConstructor()->construct(exec, args));
  • trunk/JavaScriptCore/kjs/list.cpp

    r34514 r34587  
    2626namespace KJS {
    2727
    28 void List::getSlice(int startIndex, List& result) const
     28void ArgList::getSlice(int startIndex, ArgList& result) const
    2929{
    3030    ASSERT(!result.m_isReadOnly);
     
    3636}
    3737
    38 void List::markLists(ListSet& markSet)
     38void ArgList::markLists(ListSet& markSet)
    3939{
    4040    ListSet::iterator end = markSet.end();
    4141    for (ListSet::iterator it = markSet.begin(); it != end; ++it) {
    42         List* list = *it;
     42        ArgList* list = *it;
    4343
    4444        iterator end2 = list->end();
     
    5151}
    5252
    53 void List::slowAppend(JSValue* v)
     53void ArgList::slowAppend(JSValue* v)
    5454{
    5555    // As long as our size stays within our Vector's inline
  • trunk/JavaScriptCore/kjs/list.h

    r34581 r34587  
    3131
    3232    class JSValue;
    33     class List;
     33    class ArgList;
    3434   
    35     class List : Noncopyable {
     35    class ArgList : Noncopyable {
    3636    private:
    3737        static const unsigned inlineCapacity = 8;
    3838        typedef Vector<JSValue*, inlineCapacity> VectorType;
    39         typedef HashSet<List*> ListSet;
     39        typedef HashSet<ArgList*> ListSet;
    4040
    4141    public:
     
    4545        // Constructor for a read-write list, to which you may append values.
    4646        // FIXME: Remove all clients of this API, then remove this API.
    47         List()
     47        ArgList()
    4848            : m_markSet(0)
    4949#ifndef NDEBUG
     
    5757
    5858        // Constructor for a read-only list whose data has already been allocated elsewhere.
    59         List(JSValue*** bufferSlot, size_t offset, size_t size)
     59        ArgList(JSValue*** bufferSlot, size_t offset, size_t size)
    6060            : m_bufferSlot(bufferSlot)
    6161            , m_offset(offset)
     
    6868        }
    6969
    70         ~List()
     70        ~ArgList()
    7171        {
    7272            if (m_markSet)
     
    107107        }
    108108
    109         void getSlice(int startIndex, List& result) const;
     109        void getSlice(int startIndex, ArgList& result) const;
    110110
    111111        iterator begin() { return buffer(); }
  • trunk/JavaScriptCore/kjs/object_object.cpp

    r34582 r34587  
    3131// ------------------------------ ObjectPrototype --------------------------------
    3232
    33 static JSValue* objectProtoFuncValueOf(ExecState*, JSObject*, const List&);
    34 static JSValue* objectProtoFuncHasOwnProperty(ExecState*, JSObject*, const List&);
    35 static JSValue* objectProtoFuncIsPrototypeOf(ExecState*, JSObject*, const List&);
    36 static JSValue* objectProtoFuncDefineGetter(ExecState*, JSObject*, const List&);
    37 static JSValue* objectProtoFuncDefineSetter(ExecState*, JSObject*, const List&);
    38 static JSValue* objectProtoFuncLookupGetter(ExecState*, JSObject*, const List&);
    39 static JSValue* objectProtoFuncLookupSetter(ExecState*, JSObject*, const List&);
    40 static JSValue* objectProtoFuncPropertyIsEnumerable(ExecState*, JSObject*, const List&);
    41 static JSValue* objectProtoFuncToLocaleString(ExecState*, JSObject*, const List&);
     33static JSValue* objectProtoFuncValueOf(ExecState*, JSObject*, const ArgList&);
     34static JSValue* objectProtoFuncHasOwnProperty(ExecState*, JSObject*, const ArgList&);
     35static JSValue* objectProtoFuncIsPrototypeOf(ExecState*, JSObject*, const ArgList&);
     36static JSValue* objectProtoFuncDefineGetter(ExecState*, JSObject*, const ArgList&);
     37static JSValue* objectProtoFuncDefineSetter(ExecState*, JSObject*, const ArgList&);
     38static JSValue* objectProtoFuncLookupGetter(ExecState*, JSObject*, const ArgList&);
     39static JSValue* objectProtoFuncLookupSetter(ExecState*, JSObject*, const ArgList&);
     40static JSValue* objectProtoFuncPropertyIsEnumerable(ExecState*, JSObject*, const ArgList&);
     41static JSValue* objectProtoFuncToLocaleString(ExecState*, JSObject*, const ArgList&);
    4242
    4343ObjectPrototype::ObjectPrototype(ExecState* exec, FunctionPrototype* functionPrototype)
     
    6363// ECMA 15.2.4.2, 15.2.4.4, 15.2.4.5, 15.2.4.7
    6464
    65 JSValue* objectProtoFuncValueOf(ExecState*, JSObject* thisObj, const List&)
     65JSValue* objectProtoFuncValueOf(ExecState*, JSObject* thisObj, const ArgList&)
    6666{
    6767    return thisObj;
    6868}
    6969
    70 JSValue* objectProtoFuncHasOwnProperty(ExecState* exec, JSObject* thisObj, const List& args)
     70JSValue* objectProtoFuncHasOwnProperty(ExecState* exec, JSObject* thisObj, const ArgList& args)
    7171{
    7272    return jsBoolean(thisObj->hasOwnProperty(exec, Identifier(args[0]->toString(exec))));
    7373}
    7474
    75 JSValue* objectProtoFuncIsPrototypeOf(ExecState*, JSObject* thisObj, const List& args)
     75JSValue* objectProtoFuncIsPrototypeOf(ExecState*, JSObject* thisObj, const ArgList& args)
    7676{
    7777    if (!args[0]->isObject())
     
    9090}
    9191
    92 JSValue* objectProtoFuncDefineGetter(ExecState* exec, JSObject* thisObj, const List& args)
     92JSValue* objectProtoFuncDefineGetter(ExecState* exec, JSObject* thisObj, const ArgList& args)
    9393{
    9494    if (!args[1]->isObject() || !static_cast<JSObject*>(args[1])->implementsCall())
     
    9999}
    100100
    101 JSValue* objectProtoFuncDefineSetter(ExecState* exec, JSObject* thisObj, const List& args)
     101JSValue* objectProtoFuncDefineSetter(ExecState* exec, JSObject* thisObj, const ArgList& args)
    102102{
    103103    if (!args[1]->isObject() || !static_cast<JSObject*>(args[1])->implementsCall())
     
    108108}
    109109
    110 JSValue* objectProtoFuncLookupGetter(ExecState* exec, JSObject* thisObj, const List& args)
     110JSValue* objectProtoFuncLookupGetter(ExecState* exec, JSObject* thisObj, const ArgList& args)
    111111{
    112112    return thisObj->lookupGetter(exec, Identifier(args[0]->toString(exec)));
    113113}
    114114
    115 JSValue* objectProtoFuncLookupSetter(ExecState* exec, JSObject* thisObj, const List& args)
     115JSValue* objectProtoFuncLookupSetter(ExecState* exec, JSObject* thisObj, const ArgList& args)
    116116{
    117117    return thisObj->lookupSetter(exec, Identifier(args[0]->toString(exec)));
    118118}
    119119
    120 JSValue* objectProtoFuncPropertyIsEnumerable(ExecState* exec, JSObject* thisObj, const List& args)
     120JSValue* objectProtoFuncPropertyIsEnumerable(ExecState* exec, JSObject* thisObj, const ArgList& args)
    121121{
    122122    return jsBoolean(thisObj->propertyIsEnumerable(exec, Identifier(args[0]->toString(exec))));
    123123}
    124124
    125 JSValue* objectProtoFuncToLocaleString(ExecState* exec, JSObject* thisObj, const List&)
     125JSValue* objectProtoFuncToLocaleString(ExecState* exec, JSObject* thisObj, const ArgList&)
    126126{
    127127    return jsString(thisObj->toString(exec));
    128128}
    129129
    130 JSValue* objectProtoFuncToString(ExecState*, JSObject* thisObj, const List&)
     130JSValue* objectProtoFuncToString(ExecState*, JSObject* thisObj, const ArgList&)
    131131{
    132132    return jsString("[object " + thisObj->className() + "]");
     
    151151
    152152// ECMA 15.2.2
    153 JSObject* ObjectConstructor::construct(ExecState* exec, const List& args)
     153JSObject* ObjectConstructor::construct(ExecState* exec, const ArgList& args)
    154154{
    155155  JSValue* arg = args[0];
     
    169169}
    170170
    171 JSValue* ObjectConstructor::callAsFunction(ExecState* exec, JSObject* /*thisObj*/, const List &args)
     171JSValue* ObjectConstructor::callAsFunction(ExecState* exec, JSObject* /*thisObj*/, const ArgList &args)
    172172{
    173173    return construct(exec, args);
  • trunk/JavaScriptCore/kjs/object_object.h

    r34581 r34587  
    3737    };
    3838
    39     JSValue* objectProtoFuncToString(ExecState*, JSObject*, const List&);
     39    JSValue* objectProtoFuncToString(ExecState*, JSObject*, const ArgList&);
    4040
    4141    /**
     
    4949
    5050        virtual ConstructType getConstructData(ConstructData&);
    51         virtual JSObject* construct(ExecState*, const List&);
     51        virtual JSObject* construct(ExecState*, const ArgList&);
    5252
    53         virtual JSValue* callAsFunction(ExecState*, JSObject*, const List&);
     53        virtual JSValue* callAsFunction(ExecState*, JSObject*, const ArgList&);
    5454    };
    5555
  • trunk/JavaScriptCore/kjs/string_object.cpp

    r34582 r34587  
    306306      if (replacementFunction) {
    307307          int completeMatchStart = ovector[0];
    308           List args;
     308          ArgList args;
    309309
    310310          for (unsigned i = 0; i < reg->numSubpatterns() + 1; i++) {
     
    364364 
    365365  if (replacementFunction) {
    366       List args;
     366      ArgList args;
    367367     
    368368      args.append(jsString(source.substr(matchPos, matchLen)));
     
    376376}
    377377
    378 JSValue* stringProtoFuncToString(ExecState* exec, JSObject* thisObj, const List&)
     378JSValue* stringProtoFuncToString(ExecState* exec, JSObject* thisObj, const ArgList&)
    379379{
    380380    if (!thisObj->inherits(&StringObject::info))
     
    384384}
    385385
    386 JSValue* stringProtoFuncValueOf(ExecState* exec, JSObject* thisObj, const List&)
     386JSValue* stringProtoFuncValueOf(ExecState* exec, JSObject* thisObj, const ArgList&)
    387387{
    388388    if (!thisObj->inherits(&StringObject::info))
     
    392392}
    393393
    394 JSValue* stringProtoFuncCharAt(ExecState* exec, JSObject* thisObj, const List& args)
     394JSValue* stringProtoFuncCharAt(ExecState* exec, JSObject* thisObj, const ArgList& args)
    395395{
    396396    // This optimizes the common case that thisObj is a StringObject
     
    408408}
    409409
    410 JSValue* stringProtoFuncCharCodeAt(ExecState* exec, JSObject* thisObj, const List& args)
     410JSValue* stringProtoFuncCharCodeAt(ExecState* exec, JSObject* thisObj, const ArgList& args)
    411411{
    412412    // This optimizes the common case that thisObj is a StringObject
     
    425425}
    426426
    427 JSValue* stringProtoFuncConcat(ExecState* exec, JSObject* thisObj, const List& args)
    428 {
    429     // This optimizes the common case that thisObj is a StringObject
    430     UString s = thisObj->inherits(&StringObject::info) ? static_cast<StringObject*>(thisObj)->internalValue()->value() : thisObj->toString(exec);
    431 
    432     List::const_iterator end = args.end();
    433     for (List::const_iterator it = args.begin(); it != end; ++it) {
     427JSValue* stringProtoFuncConcat(ExecState* exec, JSObject* thisObj, const ArgList& args)
     428{
     429    // This optimizes the common case that thisObj is a StringObject
     430    UString s = thisObj->inherits(&StringObject::info) ? static_cast<StringObject*>(thisObj)->internalValue()->value() : thisObj->toString(exec);
     431
     432    ArgList::const_iterator end = args.end();
     433    for (ArgList::const_iterator it = args.begin(); it != end; ++it) {
    434434        s += (*it)->toString(exec);
    435435    }
     
    437437}
    438438
    439 JSValue* stringProtoFuncIndexOf(ExecState* exec, JSObject* thisObj, const List& args)
     439JSValue* stringProtoFuncIndexOf(ExecState* exec, JSObject* thisObj, const ArgList& args)
    440440{
    441441    // This optimizes the common case that thisObj is a StringObject
     
    454454}
    455455
    456 JSValue* stringProtoFuncLastIndexOf(ExecState* exec, JSObject* thisObj, const List& args)
     456JSValue* stringProtoFuncLastIndexOf(ExecState* exec, JSObject* thisObj, const ArgList& args)
    457457{
    458458    // This optimizes the common case that thisObj is a StringObject
     
    472472}
    473473
    474 JSValue* stringProtoFuncMatch(ExecState* exec, JSObject* thisObj, const List& args)
     474JSValue* stringProtoFuncMatch(ExecState* exec, JSObject* thisObj, const ArgList& args)
    475475{
    476476    // This optimizes the common case that thisObj is a StringObject
     
    505505    } else {
    506506      // return array of matches
    507       List list;
     507      ArgList list;
    508508      int lastIndex = 0;
    509509      while (pos >= 0) {
     
    527527}
    528528
    529 JSValue* stringProtoFuncSearch(ExecState* exec, JSObject* thisObj, const List& args)
     529JSValue* stringProtoFuncSearch(ExecState* exec, JSObject* thisObj, const ArgList& args)
    530530{
    531531    // This optimizes the common case that thisObj is a StringObject
     
    553553}
    554554
    555 JSValue* stringProtoFuncReplace(ExecState* exec, JSObject* thisObj, const List& args)
     555JSValue* stringProtoFuncReplace(ExecState* exec, JSObject* thisObj, const ArgList& args)
    556556{
    557557    // This optimizes the common case that thisObj is a StringObject
     
    568568}
    569569
    570 JSValue* stringProtoFuncSlice(ExecState* exec, JSObject* thisObj, const List& args)
     570JSValue* stringProtoFuncSlice(ExecState* exec, JSObject* thisObj, const ArgList& args)
    571571{
    572572    // This optimizes the common case that thisObj is a StringObject
     
    593593}
    594594
    595 JSValue* stringProtoFuncSplit(ExecState* exec, JSObject* thisObj, const List& args)
     595JSValue* stringProtoFuncSplit(ExecState* exec, JSObject* thisObj, const ArgList& args)
    596596{
    597597    // This optimizes the common case that thisObj is a StringObject
     
    663663}
    664664
    665 JSValue* stringProtoFuncSubstr(ExecState* exec, JSObject* thisObj, const List& args)
     665JSValue* stringProtoFuncSubstr(ExecState* exec, JSObject* thisObj, const ArgList& args)
    666666{
    667667    // This optimizes the common case that thisObj is a StringObject
     
    688688}
    689689
    690 JSValue* stringProtoFuncSubstring(ExecState* exec, JSObject* thisObj, const List& args)
     690JSValue* stringProtoFuncSubstring(ExecState* exec, JSObject* thisObj, const ArgList& args)
    691691{
    692692    // This optimizes the common case that thisObj is a StringObject
     
    721721}
    722722
    723 JSValue* stringProtoFuncToLowerCase(ExecState* exec, JSObject* thisObj, const List&)
     723JSValue* stringProtoFuncToLowerCase(ExecState* exec, JSObject* thisObj, const ArgList&)
    724724{
    725725    // This optimizes the common case that thisObj is a StringObject
     
    746746}
    747747
    748 JSValue* stringProtoFuncToUpperCase(ExecState* exec, JSObject* thisObj, const List&)
     748JSValue* stringProtoFuncToUpperCase(ExecState* exec, JSObject* thisObj, const ArgList&)
    749749{
    750750    // This optimizes the common case that thisObj is a StringObject
     
    771771}
    772772
    773 JSValue* stringProtoFuncToLocaleLowerCase(ExecState* exec, JSObject* thisObj, const List&)
     773JSValue* stringProtoFuncToLocaleLowerCase(ExecState* exec, JSObject* thisObj, const ArgList&)
    774774{
    775775    // This optimizes the common case that thisObj is a StringObject
     
    797797}
    798798
    799 JSValue* stringProtoFuncToLocaleUpperCase(ExecState* exec, JSObject* thisObj, const List&)
     799JSValue* stringProtoFuncToLocaleUpperCase(ExecState* exec, JSObject* thisObj, const ArgList&)
    800800{
    801801    // This optimizes the common case that thisObj is a StringObject
     
    822822}
    823823
    824 JSValue* stringProtoFuncLocaleCompare(ExecState* exec, JSObject* thisObj, const List& args)
     824JSValue* stringProtoFuncLocaleCompare(ExecState* exec, JSObject* thisObj, const ArgList& args)
    825825{
    826826    if (args.size() < 1)
     
    833833}
    834834
    835 JSValue* stringProtoFuncBig(ExecState* exec, JSObject* thisObj, const List&)
     835JSValue* stringProtoFuncBig(ExecState* exec, JSObject* thisObj, const ArgList&)
    836836{
    837837    // This optimizes the common case that thisObj is a StringObject
     
    840840}
    841841
    842 JSValue* stringProtoFuncSmall(ExecState* exec, JSObject* thisObj, const List&)
     842JSValue* stringProtoFuncSmall(ExecState* exec, JSObject* thisObj, const ArgList&)
    843843{
    844844    // This optimizes the common case that thisObj is a StringObject
     
    847847}
    848848
    849 JSValue* stringProtoFuncBlink(ExecState* exec, JSObject* thisObj, const List&)
     849JSValue* stringProtoFuncBlink(ExecState* exec, JSObject* thisObj, const ArgList&)
    850850{
    851851    // This optimizes the common case that thisObj is a StringObject
     
    854854}
    855855
    856 JSValue* stringProtoFuncBold(ExecState* exec, JSObject* thisObj, const List&)
     856JSValue* stringProtoFuncBold(ExecState* exec, JSObject* thisObj, const ArgList&)
    857857{
    858858    // This optimizes the common case that thisObj is a StringObject
     
    861861}
    862862
    863 JSValue* stringProtoFuncFixed(ExecState* exec, JSObject* thisObj, const List&)
     863JSValue* stringProtoFuncFixed(ExecState* exec, JSObject* thisObj, const ArgList&)
    864864{
    865865    // This optimizes the common case that thisObj is a StringObject
     
    868868}
    869869
    870 JSValue* stringProtoFuncItalics(ExecState* exec, JSObject* thisObj, const List&)
     870JSValue* stringProtoFuncItalics(ExecState* exec, JSObject* thisObj, const ArgList&)
    871871{
    872872    // This optimizes the common case that thisObj is a StringObject
     
    875875}
    876876
    877 JSValue* stringProtoFuncStrike(ExecState* exec, JSObject* thisObj, const List&)
     877JSValue* stringProtoFuncStrike(ExecState* exec, JSObject* thisObj, const ArgList&)
    878878{
    879879    // This optimizes the common case that thisObj is a StringObject
     
    882882}
    883883
    884 JSValue* stringProtoFuncSub(ExecState* exec, JSObject* thisObj, const List&)
     884JSValue* stringProtoFuncSub(ExecState* exec, JSObject* thisObj, const ArgList&)
    885885{
    886886    // This optimizes the common case that thisObj is a StringObject
     
    889889}
    890890
    891 JSValue* stringProtoFuncSup(ExecState* exec, JSObject* thisObj, const List&)
     891JSValue* stringProtoFuncSup(ExecState* exec, JSObject* thisObj, const ArgList&)
    892892{
    893893    // This optimizes the common case that thisObj is a StringObject
     
    896896}
    897897
    898 JSValue* stringProtoFuncFontcolor(ExecState* exec, JSObject* thisObj, const List& args)
     898JSValue* stringProtoFuncFontcolor(ExecState* exec, JSObject* thisObj, const ArgList& args)
    899899{
    900900    // This optimizes the common case that thisObj is a StringObject
     
    904904}
    905905
    906 JSValue* stringProtoFuncFontsize(ExecState* exec, JSObject* thisObj, const List& args)
     906JSValue* stringProtoFuncFontsize(ExecState* exec, JSObject* thisObj, const ArgList& args)
    907907{
    908908    // This optimizes the common case that thisObj is a StringObject
     
    912912}
    913913
    914 JSValue* stringProtoFuncAnchor(ExecState* exec, JSObject* thisObj, const List& args)
     914JSValue* stringProtoFuncAnchor(ExecState* exec, JSObject* thisObj, const ArgList& args)
    915915{
    916916    // This optimizes the common case that thisObj is a StringObject
     
    920920}
    921921
    922 JSValue* stringProtoFuncLink(ExecState* exec, JSObject* thisObj, const List& args)
     922JSValue* stringProtoFuncLink(ExecState* exec, JSObject* thisObj, const ArgList& args)
    923923{
    924924    // This optimizes the common case that thisObj is a StringObject
     
    949949
    950950// ECMA 15.5.2
    951 JSObject *StringConstructor::construct(ExecState *exec, const List &args)
     951JSObject *StringConstructor::construct(ExecState *exec, const ArgList &args)
    952952{
    953953  JSObject *proto = exec->lexicalGlobalObject()->stringPrototype();
     
    958958
    959959// ECMA 15.5.1
    960 JSValue *StringConstructor::callAsFunction(ExecState *exec, JSObject* /*thisObj*/, const List &args)
     960JSValue *StringConstructor::callAsFunction(ExecState *exec, JSObject* /*thisObj*/, const ArgList &args)
    961961{
    962962  if (args.isEmpty())
     
    977977}
    978978
    979 JSValue *StringConstructorFunction::callAsFunction(ExecState *exec, JSObject* /*thisObj*/, const List &args)
     979JSValue *StringConstructorFunction::callAsFunction(ExecState *exec, JSObject* /*thisObj*/, const ArgList &args)
    980980{
    981981  UString s;
     
    983983    UChar *buf = static_cast<UChar *>(fastMalloc(args.size() * sizeof(UChar)));
    984984    UChar *p = buf;
    985     List::const_iterator end = args.end();
    986     for (List::const_iterator it = args.begin(); it != end; ++it) {
     985    ArgList::const_iterator end = args.end();
     986    for (ArgList::const_iterator it = args.begin(); it != end; ++it) {
    987987      unsigned short u = static_cast<unsigned short>((*it)->toUInt32(exec));
    988988      *p++ = UChar(u);
  • trunk/JavaScriptCore/kjs/string_object.h

    r34582 r34587  
    8484   */
    8585
    86   JSValue* stringProtoFuncToString(ExecState*, JSObject*, const List&);
    87   JSValue* stringProtoFuncValueOf(ExecState*, JSObject*, const List&);
    88   JSValue* stringProtoFuncCharAt(ExecState*, JSObject*, const List&);
    89   JSValue* stringProtoFuncCharCodeAt(ExecState*, JSObject*, const List&);
    90   JSValue* stringProtoFuncConcat(ExecState*, JSObject*, const List&);
    91   JSValue* stringProtoFuncIndexOf(ExecState*, JSObject*, const List&);
    92   JSValue* stringProtoFuncLastIndexOf(ExecState*, JSObject*, const List&);
    93   JSValue* stringProtoFuncMatch(ExecState*, JSObject*, const List&);
    94   JSValue* stringProtoFuncReplace(ExecState*, JSObject*, const List&);
    95   JSValue* stringProtoFuncSearch(ExecState*, JSObject*, const List&);
    96   JSValue* stringProtoFuncSlice(ExecState*, JSObject*, const List&);
    97   JSValue* stringProtoFuncSplit(ExecState*, JSObject*, const List&);
    98   JSValue* stringProtoFuncSubstr(ExecState*, JSObject*, const List&);
    99   JSValue* stringProtoFuncSubstring(ExecState*, JSObject*, const List&);
    100   JSValue* stringProtoFuncToLowerCase(ExecState*, JSObject*, const List&);
    101   JSValue* stringProtoFuncToUpperCase(ExecState*, JSObject*, const List&);
    102   JSValue* stringProtoFuncToLocaleLowerCase(ExecState*, JSObject*, const List&);
    103   JSValue* stringProtoFuncToLocaleUpperCase(ExecState*, JSObject*, const List&);
    104   JSValue* stringProtoFuncLocaleCompare(ExecState*, JSObject*, const List&);
     86  JSValue* stringProtoFuncToString(ExecState*, JSObject*, const ArgList&);
     87  JSValue* stringProtoFuncValueOf(ExecState*, JSObject*, const ArgList&);
     88  JSValue* stringProtoFuncCharAt(ExecState*, JSObject*, const ArgList&);
     89  JSValue* stringProtoFuncCharCodeAt(ExecState*, JSObject*, const ArgList&);
     90  JSValue* stringProtoFuncConcat(ExecState*, JSObject*, const ArgList&);
     91  JSValue* stringProtoFuncIndexOf(ExecState*, JSObject*, const ArgList&);
     92  JSValue* stringProtoFuncLastIndexOf(ExecState*, JSObject*, const ArgList&);
     93  JSValue* stringProtoFuncMatch(ExecState*, JSObject*, const ArgList&);
     94  JSValue* stringProtoFuncReplace(ExecState*, JSObject*, const ArgList&);
     95  JSValue* stringProtoFuncSearch(ExecState*, JSObject*, const ArgList&);
     96  JSValue* stringProtoFuncSlice(ExecState*, JSObject*, const ArgList&);
     97  JSValue* stringProtoFuncSplit(ExecState*, JSObject*, const ArgList&);
     98  JSValue* stringProtoFuncSubstr(ExecState*, JSObject*, const ArgList&);
     99  JSValue* stringProtoFuncSubstring(ExecState*, JSObject*, const ArgList&);
     100  JSValue* stringProtoFuncToLowerCase(ExecState*, JSObject*, const ArgList&);
     101  JSValue* stringProtoFuncToUpperCase(ExecState*, JSObject*, const ArgList&);
     102  JSValue* stringProtoFuncToLocaleLowerCase(ExecState*, JSObject*, const ArgList&);
     103  JSValue* stringProtoFuncToLocaleUpperCase(ExecState*, JSObject*, const ArgList&);
     104  JSValue* stringProtoFuncLocaleCompare(ExecState*, JSObject*, const ArgList&);
    105105
    106   JSValue* stringProtoFuncBig(ExecState*, JSObject*, const List&);
    107   JSValue* stringProtoFuncSmall(ExecState*, JSObject*, const List&);
    108   JSValue* stringProtoFuncBlink(ExecState*, JSObject*, const List&);
    109   JSValue* stringProtoFuncBold(ExecState*, JSObject*, const List&);
    110   JSValue* stringProtoFuncFixed(ExecState*, JSObject*, const List&);
    111   JSValue* stringProtoFuncItalics(ExecState*, JSObject*, const List&);
    112   JSValue* stringProtoFuncStrike(ExecState*, JSObject*, const List&);
    113   JSValue* stringProtoFuncSub(ExecState*, JSObject*, const List&);
    114   JSValue* stringProtoFuncSup(ExecState*, JSObject*, const List&);
    115   JSValue* stringProtoFuncFontcolor(ExecState*, JSObject*, const List&);
    116   JSValue* stringProtoFuncFontsize(ExecState*, JSObject*, const List&);
    117   JSValue* stringProtoFuncAnchor(ExecState*, JSObject*, const List&);
    118   JSValue* stringProtoFuncLink(ExecState*, JSObject*, const List&);
     106  JSValue* stringProtoFuncBig(ExecState*, JSObject*, const ArgList&);
     107  JSValue* stringProtoFuncSmall(ExecState*, JSObject*, const ArgList&);
     108  JSValue* stringProtoFuncBlink(ExecState*, JSObject*, const ArgList&);
     109  JSValue* stringProtoFuncBold(ExecState*, JSObject*, const ArgList&);
     110  JSValue* stringProtoFuncFixed(ExecState*, JSObject*, const ArgList&);
     111  JSValue* stringProtoFuncItalics(ExecState*, JSObject*, const ArgList&);
     112  JSValue* stringProtoFuncStrike(ExecState*, JSObject*, const ArgList&);
     113  JSValue* stringProtoFuncSub(ExecState*, JSObject*, const ArgList&);
     114  JSValue* stringProtoFuncSup(ExecState*, JSObject*, const ArgList&);
     115  JSValue* stringProtoFuncFontcolor(ExecState*, JSObject*, const ArgList&);
     116  JSValue* stringProtoFuncFontsize(ExecState*, JSObject*, const ArgList&);
     117  JSValue* stringProtoFuncAnchor(ExecState*, JSObject*, const ArgList&);
     118  JSValue* stringProtoFuncLink(ExecState*, JSObject*, const ArgList&);
    119119
    120120  /**
     
    128128
    129129    virtual ConstructType getConstructData(ConstructData&);
    130     virtual JSObject* construct(ExecState*, const List&);
     130    virtual JSObject* construct(ExecState*, const ArgList&);
    131131
    132     virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const List& args);
     132    virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const ArgList& args);
    133133  };
    134134
     
    142142  public:
    143143    StringConstructorFunction(ExecState*, FunctionPrototype*, const Identifier&);
    144     virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const List& args);
     144    virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const ArgList& args);
    145145  };
    146146
Note: See TracChangeset for help on using the changeset viewer.