Ignore:
Timestamp:
Oct 18, 2008, 6:52:42 PM (17 years ago)
Author:
Darin Adler
Message:

JavaScriptCore:

2008-10-18 Darin Adler <Darin Adler>

Reviewed by Cameron Zwarich.

Use JSValuePtr everywhere instead of JSValue*. In the future, we'll be
changing JSValuePtr to be a class, and then eventually renaming it
to JSValue once that's done.

  • JavaScriptCore.exp: Update entry points, since some now take JSValue* instead of const JSValue*.
  • API/APICast.h:
  • API/JSCallbackConstructor.h:
  • API/JSCallbackFunction.cpp:
  • API/JSCallbackFunction.h:
  • API/JSCallbackObject.h:
  • API/JSCallbackObjectFunctions.h:
  • API/JSContextRef.cpp:
  • API/JSObjectRef.cpp:
  • API/JSValueRef.cpp:
  • VM/CTI.cpp:
  • VM/CTI.h:
  • VM/CodeBlock.cpp:
  • VM/CodeBlock.h:
  • VM/CodeGenerator.cpp:
  • VM/CodeGenerator.h:
  • VM/ExceptionHelpers.cpp:
  • VM/ExceptionHelpers.h:
  • VM/JSPropertyNameIterator.cpp:
  • VM/JSPropertyNameIterator.h:
  • VM/Machine.cpp:
  • VM/Machine.h:
  • VM/Register.h:
  • kjs/ArgList.cpp:
  • kjs/ArgList.h:
  • kjs/Arguments.cpp:
  • kjs/Arguments.h:
  • kjs/ArrayConstructor.cpp:
  • kjs/ArrayPrototype.cpp:
  • kjs/BooleanConstructor.cpp:
  • kjs/BooleanConstructor.h:
  • kjs/BooleanObject.h:
  • kjs/BooleanPrototype.cpp:
  • kjs/CallData.cpp:
  • kjs/CallData.h:
  • kjs/ConstructData.cpp:
  • kjs/ConstructData.h:
  • kjs/DateConstructor.cpp:
  • kjs/DateInstance.h:
  • kjs/DatePrototype.cpp:
  • kjs/DebuggerCallFrame.cpp:
  • kjs/DebuggerCallFrame.h:
  • kjs/ErrorConstructor.cpp:
  • kjs/ErrorPrototype.cpp:
  • kjs/ExecState.cpp:
  • kjs/ExecState.h:
  • kjs/FunctionConstructor.cpp:
  • kjs/FunctionPrototype.cpp:
  • kjs/GetterSetter.cpp:
  • kjs/GetterSetter.h:
  • kjs/InternalFunction.h:
  • kjs/JSActivation.cpp:
  • kjs/JSActivation.h:
  • kjs/JSArray.cpp:
  • kjs/JSArray.h:
  • kjs/JSCell.cpp:
  • kjs/JSCell.h:
  • kjs/JSFunction.cpp:
  • kjs/JSFunction.h:
  • kjs/JSGlobalData.h:
  • kjs/JSGlobalObject.cpp:
  • kjs/JSGlobalObject.h:
  • kjs/JSGlobalObjectFunctions.cpp:
  • kjs/JSGlobalObjectFunctions.h:
  • kjs/JSImmediate.cpp:
  • kjs/JSImmediate.h:
  • kjs/JSNotAnObject.cpp:
  • kjs/JSNotAnObject.h:
  • kjs/JSNumberCell.cpp:
  • kjs/JSNumberCell.h:
  • kjs/JSObject.cpp:
  • kjs/JSObject.h:
  • kjs/JSStaticScopeObject.cpp:
  • kjs/JSStaticScopeObject.h:
  • kjs/JSString.cpp:
  • kjs/JSString.h:
  • kjs/JSValue.h:
  • kjs/JSVariableObject.h:
  • kjs/JSWrapperObject.h:
  • kjs/MathObject.cpp:
  • kjs/NativeErrorConstructor.cpp:
  • kjs/NumberConstructor.cpp:
  • kjs/NumberConstructor.h:
  • kjs/NumberObject.cpp:
  • kjs/NumberObject.h:
  • kjs/NumberPrototype.cpp:
  • kjs/ObjectConstructor.cpp:
  • kjs/ObjectPrototype.cpp:
  • kjs/ObjectPrototype.h:
  • kjs/PropertyMap.h:
  • kjs/PropertySlot.cpp:
  • kjs/PropertySlot.h:
  • kjs/RegExpConstructor.cpp:
  • kjs/RegExpConstructor.h:
  • kjs/RegExpMatchesArray.h:
  • kjs/RegExpObject.cpp:
  • kjs/RegExpObject.h:
  • kjs/RegExpPrototype.cpp:
  • kjs/Shell.cpp:
  • kjs/StringConstructor.cpp:
  • kjs/StringObject.cpp:
  • kjs/StringObject.h:
  • kjs/StringObjectThatMasqueradesAsUndefined.h:
  • kjs/StringPrototype.cpp:
  • kjs/StructureID.cpp:
  • kjs/StructureID.h:
  • kjs/collector.cpp:
  • kjs/collector.h:
  • kjs/completion.h:
  • kjs/grammar.y:
  • kjs/interpreter.cpp:
  • kjs/interpreter.h:
  • kjs/lookup.cpp:
  • kjs/lookup.h:
  • kjs/nodes.h:
  • kjs/operations.cpp:
  • kjs/operations.h:
  • kjs/protect.h:
  • profiler/ProfileGenerator.cpp: Replace JSValue* with JSValuePtr.

JavaScriptGlue:

2008-10-18 Darin Adler <Darin Adler>

Reviewed by Cameron Zwarich.

Use JSValuePtr everywhere instead of JSValue*. In the future, we'll be
changing JSValuePtr to be a class, and then eventually renaming it
to JSValue once that's done.

  • JSObject.cpp:
  • JSValueWrapper.cpp:
  • UserObjectImp.cpp:
  • UserObjectImp.h: Replace JSValue* with JSValuePtr.

WebCore:

2008-10-18 Darin Adler <Darin Adler>

Reviewed by Cameron Zwarich.

Use JSValuePtr everywhere instead of JSValue*. In the future, we'll be
changing JSValuePtr to be a class, and then eventually renaming it
to JSValue once that's done.

  • bindings/js/JSAttrCustom.cpp:
  • bindings/js/JSCSSRuleCustom.cpp:
  • bindings/js/JSCSSStyleDeclarationCustom.cpp:
  • bindings/js/JSCSSValueCustom.cpp:
  • bindings/js/JSCanvasPixelArrayCustom.h:
  • bindings/js/JSCanvasRenderingContext2DCustom.cpp:
  • bindings/js/JSClipboardCustom.cpp:
  • bindings/js/JSConsoleCustom.cpp:
  • bindings/js/JSCustomSQLStatementCallback.cpp:
  • bindings/js/JSCustomSQLStatementErrorCallback.cpp:
  • bindings/js/JSCustomSQLTransactionCallback.cpp:
  • bindings/js/JSCustomSQLTransactionErrorCallback.cpp:
  • bindings/js/JSCustomVoidCallback.cpp:
  • bindings/js/JSCustomVoidCallback.h:
  • bindings/js/JSCustomXPathNSResolver.cpp:
  • bindings/js/JSDOMApplicationCacheCustom.cpp:
  • bindings/js/JSDOMBinding.cpp:
  • bindings/js/JSDOMBinding.h:
  • bindings/js/JSDOMWindowBase.cpp:
  • bindings/js/JSDOMWindowBase.h:
  • bindings/js/JSDOMWindowCustom.cpp:
  • bindings/js/JSDOMWindowCustom.h:
  • bindings/js/JSDOMWindowShell.cpp:
  • bindings/js/JSDOMWindowShell.h:
  • bindings/js/JSDatabaseCustom.cpp:
  • bindings/js/JSDocumentCustom.cpp:
  • bindings/js/JSElementCustom.cpp:
  • bindings/js/JSEventCustom.cpp:
  • bindings/js/JSEventListener.cpp:
  • bindings/js/JSEventTarget.cpp:
  • bindings/js/JSEventTargetBase.h:
  • bindings/js/JSEventTargetNodeCustom.cpp:
  • bindings/js/JSHTMLAllCollection.h:
  • bindings/js/JSHTMLAppletElementCustom.cpp:
  • bindings/js/JSHTMLCollectionCustom.cpp:
  • bindings/js/JSHTMLDocumentCustom.cpp:
  • bindings/js/JSHTMLEmbedElementCustom.cpp:
  • bindings/js/JSHTMLFormElementCustom.cpp:
  • bindings/js/JSHTMLFrameElementCustom.cpp:
  • bindings/js/JSHTMLFrameSetElementCustom.cpp:
  • bindings/js/JSHTMLIFrameElementCustom.cpp:
  • bindings/js/JSHTMLInputElementCustom.cpp:
  • bindings/js/JSHTMLObjectElementCustom.cpp:
  • bindings/js/JSHTMLOptionsCollectionCustom.cpp:
  • bindings/js/JSHTMLSelectElementCustom.cpp:
  • bindings/js/JSHTMLSelectElementCustom.h:
  • bindings/js/JSHistoryCustom.cpp:
  • bindings/js/JSImageDataCustom.cpp:
  • bindings/js/JSInspectedObjectWrapper.cpp:
  • bindings/js/JSInspectedObjectWrapper.h:
  • bindings/js/JSInspectorCallbackWrapper.cpp:
  • bindings/js/JSInspectorCallbackWrapper.h:
  • bindings/js/JSJavaScriptCallFrameCustom.cpp:
  • bindings/js/JSLocationCustom.cpp:
  • bindings/js/JSMessagePortCustom.cpp:
  • bindings/js/JSMimeTypeArrayCustom.cpp:
  • bindings/js/JSNamedNodeMapCustom.cpp:
  • bindings/js/JSNamedNodesCollection.cpp:
  • bindings/js/JSNamedNodesCollection.h:
  • bindings/js/JSNavigatorCustom.cpp:
  • bindings/js/JSNodeCustom.cpp:
  • bindings/js/JSNodeFilterCondition.cpp:
  • bindings/js/JSNodeFilterCustom.cpp:
  • bindings/js/JSNodeIteratorCustom.cpp:
  • bindings/js/JSNodeListCustom.cpp:
  • bindings/js/JSPluginArrayCustom.cpp:
  • bindings/js/JSPluginCustom.cpp:
  • bindings/js/JSPluginElementFunctions.cpp:
  • bindings/js/JSPluginElementFunctions.h:
  • bindings/js/JSQuarantinedObjectWrapper.cpp:
  • bindings/js/JSQuarantinedObjectWrapper.h:
  • bindings/js/JSRGBColor.cpp:
  • bindings/js/JSRGBColor.h:
  • bindings/js/JSSQLResultSetRowListCustom.cpp:
  • bindings/js/JSSQLTransactionCustom.cpp:
  • bindings/js/JSSVGElementInstanceCustom.cpp:
  • bindings/js/JSSVGLengthCustom.cpp:
  • bindings/js/JSSVGMatrixCustom.cpp:
  • bindings/js/JSSVGPathSegCustom.cpp:
  • bindings/js/JSSVGPathSegListCustom.cpp:
  • bindings/js/JSSVGPointListCustom.cpp:
  • bindings/js/JSSVGTransformListCustom.cpp:
  • bindings/js/JSStorageCustom.cpp:
  • bindings/js/JSStyleSheetCustom.cpp:
  • bindings/js/JSStyleSheetListCustom.cpp:
  • bindings/js/JSTextCustom.cpp:
  • bindings/js/JSTreeWalkerCustom.cpp:
  • bindings/js/JSXMLHttpRequestCustom.cpp:
  • bindings/js/JSXMLHttpRequestUploadCustom.cpp:
  • bindings/js/JSXSLTProcessorCustom.cpp:
  • bindings/js/ScheduledAction.cpp:
  • bindings/js/ScheduledAction.h:
  • bindings/js/ScriptController.cpp:
  • bindings/js/ScriptController.h:
  • bindings/objc/WebScriptObject.mm:
  • bindings/scripts/CodeGeneratorJS.pm:
  • bridge/NP_jsobject.cpp:
  • bridge/c/c_instance.cpp:
  • bridge/c/c_instance.h:
  • bridge/c/c_runtime.cpp:
  • bridge/c/c_runtime.h:
  • bridge/c/c_utility.cpp:
  • bridge/jni/jni_instance.cpp:
  • bridge/jni/jni_instance.h:
  • bridge/jni/jni_jsobject.mm:
  • bridge/jni/jni_objc.mm:
  • bridge/jni/jni_runtime.cpp:
  • bridge/jni/jni_runtime.h:
  • bridge/jni/jni_utility.cpp:
  • bridge/objc/objc_class.mm:
  • bridge/objc/objc_instance.h:
  • bridge/objc/objc_instance.mm:
  • bridge/objc/objc_runtime.h:
  • bridge/objc/objc_runtime.mm:
  • bridge/objc/objc_utility.h:
  • bridge/objc/objc_utility.mm:
  • bridge/runtime.h:
  • bridge/runtime_array.cpp:
  • bridge/runtime_array.h:
  • bridge/runtime_method.cpp:
  • bridge/runtime_method.h:
  • bridge/runtime_object.cpp:
  • bridge/runtime_object.h:
  • inspector/JavaScriptCallFrame.cpp:
  • inspector/JavaScriptCallFrame.h:
  • inspector/JavaScriptProfile.cpp:
  • inspector/JavaScriptProfileNode.cpp:
  • loader/FrameLoader.cpp:
  • loader/FrameLoader.h:
  • page/Console.cpp:
  • page/Console.h:
  • plugins/MimeTypeArray.h:
  • plugins/Plugin.h:
  • plugins/PluginArray.h:
  • xml/XMLHttpRequest.cpp: Replace JSValue* with JSValuePtr.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/RegExpConstructor.cpp

    r37681 r37684  
    3434namespace JSC {
    3535
    36 static JSValue* regExpConstructorInput(ExecState*, const Identifier&, const PropertySlot&);
    37 static JSValue* regExpConstructorMultiline(ExecState*, const Identifier&, const PropertySlot&);
    38 static JSValue* regExpConstructorLastMatch(ExecState*, const Identifier&, const PropertySlot&);
    39 static JSValue* regExpConstructorLastParen(ExecState*, const Identifier&, const PropertySlot&);
    40 static JSValue* regExpConstructorLeftContext(ExecState*, const Identifier&, const PropertySlot&);
    41 static JSValue* regExpConstructorRightContext(ExecState*, const Identifier&, const PropertySlot&);
    42 static JSValue* regExpConstructorDollar1(ExecState*, const Identifier&, const PropertySlot&);
    43 static JSValue* regExpConstructorDollar2(ExecState*, const Identifier&, const PropertySlot&);
    44 static JSValue* regExpConstructorDollar3(ExecState*, const Identifier&, const PropertySlot&);
    45 static JSValue* regExpConstructorDollar4(ExecState*, const Identifier&, const PropertySlot&);
    46 static JSValue* regExpConstructorDollar5(ExecState*, const Identifier&, const PropertySlot&);
    47 static JSValue* regExpConstructorDollar6(ExecState*, const Identifier&, const PropertySlot&);
    48 static JSValue* regExpConstructorDollar7(ExecState*, const Identifier&, const PropertySlot&);
    49 static JSValue* regExpConstructorDollar8(ExecState*, const Identifier&, const PropertySlot&);
    50 static JSValue* regExpConstructorDollar9(ExecState*, const Identifier&, const PropertySlot&);
    51 
    52 static void setRegExpConstructorInput(ExecState*, JSObject*, JSValue*);
    53 static void setRegExpConstructorMultiline(ExecState*, JSObject*, JSValue*);
     36static JSValuePtr regExpConstructorInput(ExecState*, const Identifier&, const PropertySlot&);
     37static JSValuePtr regExpConstructorMultiline(ExecState*, const Identifier&, const PropertySlot&);
     38static JSValuePtr regExpConstructorLastMatch(ExecState*, const Identifier&, const PropertySlot&);
     39static JSValuePtr regExpConstructorLastParen(ExecState*, const Identifier&, const PropertySlot&);
     40static JSValuePtr regExpConstructorLeftContext(ExecState*, const Identifier&, const PropertySlot&);
     41static JSValuePtr regExpConstructorRightContext(ExecState*, const Identifier&, const PropertySlot&);
     42static JSValuePtr regExpConstructorDollar1(ExecState*, const Identifier&, const PropertySlot&);
     43static JSValuePtr regExpConstructorDollar2(ExecState*, const Identifier&, const PropertySlot&);
     44static JSValuePtr regExpConstructorDollar3(ExecState*, const Identifier&, const PropertySlot&);
     45static JSValuePtr regExpConstructorDollar4(ExecState*, const Identifier&, const PropertySlot&);
     46static JSValuePtr regExpConstructorDollar5(ExecState*, const Identifier&, const PropertySlot&);
     47static JSValuePtr regExpConstructorDollar6(ExecState*, const Identifier&, const PropertySlot&);
     48static JSValuePtr regExpConstructorDollar7(ExecState*, const Identifier&, const PropertySlot&);
     49static JSValuePtr regExpConstructorDollar8(ExecState*, const Identifier&, const PropertySlot&);
     50static JSValuePtr regExpConstructorDollar9(ExecState*, const Identifier&, const PropertySlot&);
     51
     52static void setRegExpConstructorInput(ExecState*, JSObject*, JSValuePtr);
     53static void setRegExpConstructorMultiline(ExecState*, JSObject*, JSValuePtr);
    5454
    5555} // namespace JSC
     
    186186}
    187187
    188 JSValue* RegExpConstructor::getBackref(ExecState* exec, unsigned i) const
     188JSValuePtr RegExpConstructor::getBackref(ExecState* exec, unsigned i) const
    189189{
    190190    if (d->lastOvector && i <= d->lastNumSubPatterns) {
     
    196196}
    197197
    198 JSValue* RegExpConstructor::getLastParen(ExecState* exec) const
     198JSValuePtr RegExpConstructor::getLastParen(ExecState* exec) const
    199199{
    200200    unsigned i = d->lastNumSubPatterns;
     
    208208}
    209209
    210 JSValue* RegExpConstructor::getLeftContext(ExecState* exec) const
     210JSValuePtr RegExpConstructor::getLeftContext(ExecState* exec) const
    211211{
    212212    if (d->lastOvector)
     
    215215}
    216216
    217 JSValue* RegExpConstructor::getRightContext(ExecState* exec) const
     217JSValuePtr RegExpConstructor::getRightContext(ExecState* exec) const
    218218{
    219219    if (d->lastOvector)
     
    227227}
    228228
    229 JSValue* regExpConstructorDollar1(ExecState* exec, const Identifier&, const PropertySlot& slot)
     229JSValuePtr regExpConstructorDollar1(ExecState* exec, const Identifier&, const PropertySlot& slot)
    230230{
    231231    return asRegExpConstructor(slot.slotBase())->getBackref(exec, 1);
    232232}
    233233
    234 JSValue* regExpConstructorDollar2(ExecState* exec, const Identifier&, const PropertySlot& slot)
     234JSValuePtr regExpConstructorDollar2(ExecState* exec, const Identifier&, const PropertySlot& slot)
    235235{
    236236    return asRegExpConstructor(slot.slotBase())->getBackref(exec, 2);
    237237}
    238238
    239 JSValue* regExpConstructorDollar3(ExecState* exec, const Identifier&, const PropertySlot& slot)
     239JSValuePtr regExpConstructorDollar3(ExecState* exec, const Identifier&, const PropertySlot& slot)
    240240{
    241241    return asRegExpConstructor(slot.slotBase())->getBackref(exec, 3);
    242242}
    243243
    244 JSValue* regExpConstructorDollar4(ExecState* exec, const Identifier&, const PropertySlot& slot)
     244JSValuePtr regExpConstructorDollar4(ExecState* exec, const Identifier&, const PropertySlot& slot)
    245245{
    246246    return asRegExpConstructor(slot.slotBase())->getBackref(exec, 4);
    247247}
    248248
    249 JSValue* regExpConstructorDollar5(ExecState* exec, const Identifier&, const PropertySlot& slot)
     249JSValuePtr regExpConstructorDollar5(ExecState* exec, const Identifier&, const PropertySlot& slot)
    250250{
    251251    return asRegExpConstructor(slot.slotBase())->getBackref(exec, 5);
    252252}
    253253
    254 JSValue* regExpConstructorDollar6(ExecState* exec, const Identifier&, const PropertySlot& slot)
     254JSValuePtr regExpConstructorDollar6(ExecState* exec, const Identifier&, const PropertySlot& slot)
    255255{
    256256    return asRegExpConstructor(slot.slotBase())->getBackref(exec, 6);
    257257}
    258258
    259 JSValue* regExpConstructorDollar7(ExecState* exec, const Identifier&, const PropertySlot& slot)
     259JSValuePtr regExpConstructorDollar7(ExecState* exec, const Identifier&, const PropertySlot& slot)
    260260{
    261261    return asRegExpConstructor(slot.slotBase())->getBackref(exec, 7);
    262262}
    263263
    264 JSValue* regExpConstructorDollar8(ExecState* exec, const Identifier&, const PropertySlot& slot)
     264JSValuePtr regExpConstructorDollar8(ExecState* exec, const Identifier&, const PropertySlot& slot)
    265265{
    266266    return asRegExpConstructor(slot.slotBase())->getBackref(exec, 8);
    267267}
    268268
    269 JSValue* regExpConstructorDollar9(ExecState* exec, const Identifier&, const PropertySlot& slot)
     269JSValuePtr regExpConstructorDollar9(ExecState* exec, const Identifier&, const PropertySlot& slot)
    270270{
    271271    return asRegExpConstructor(slot.slotBase())->getBackref(exec, 9);
    272272}
    273273
    274 JSValue* regExpConstructorInput(ExecState* exec, const Identifier&, const PropertySlot& slot)
     274JSValuePtr regExpConstructorInput(ExecState* exec, const Identifier&, const PropertySlot& slot)
    275275{
    276276    return jsString(exec, asRegExpConstructor(slot.slotBase())->input());
    277277}
    278278
    279 JSValue* regExpConstructorMultiline(ExecState*, const Identifier&, const PropertySlot& slot)
     279JSValuePtr regExpConstructorMultiline(ExecState*, const Identifier&, const PropertySlot& slot)
    280280{
    281281    return jsBoolean(asRegExpConstructor(slot.slotBase())->multiline());
    282282}
    283283
    284 JSValue* regExpConstructorLastMatch(ExecState* exec, const Identifier&, const PropertySlot& slot)
     284JSValuePtr regExpConstructorLastMatch(ExecState* exec, const Identifier&, const PropertySlot& slot)
    285285{
    286286    return asRegExpConstructor(slot.slotBase())->getBackref(exec, 0);
    287287}
    288288
    289 JSValue* regExpConstructorLastParen(ExecState* exec, const Identifier&, const PropertySlot& slot)
     289JSValuePtr regExpConstructorLastParen(ExecState* exec, const Identifier&, const PropertySlot& slot)
    290290{
    291291    return asRegExpConstructor(slot.slotBase())->getLastParen(exec);
    292292}
    293293
    294 JSValue* regExpConstructorLeftContext(ExecState* exec, const Identifier&, const PropertySlot& slot)
     294JSValuePtr regExpConstructorLeftContext(ExecState* exec, const Identifier&, const PropertySlot& slot)
    295295{
    296296    return asRegExpConstructor(slot.slotBase())->getLeftContext(exec);
    297297}
    298298
    299 JSValue* regExpConstructorRightContext(ExecState* exec, const Identifier&, const PropertySlot& slot)
     299JSValuePtr regExpConstructorRightContext(ExecState* exec, const Identifier&, const PropertySlot& slot)
    300300{
    301301    return asRegExpConstructor(slot.slotBase())->getRightContext(exec);
    302302}
    303303
    304 void RegExpConstructor::put(ExecState* exec, const Identifier& propertyName, JSValue* value, PutPropertySlot& slot)
     304void RegExpConstructor::put(ExecState* exec, const Identifier& propertyName, JSValuePtr value, PutPropertySlot& slot)
    305305{
    306306    lookupPut<RegExpConstructor, InternalFunction>(exec, propertyName, value, ExecState::regExpConstructorTable(exec), this, slot);
    307307}
    308308
    309 void setRegExpConstructorInput(ExecState* exec, JSObject* baseObject, JSValue* value)
     309void setRegExpConstructorInput(ExecState* exec, JSObject* baseObject, JSValuePtr value)
    310310{
    311311    asRegExpConstructor(baseObject)->setInput(value->toString(exec));
    312312}
    313313
    314 void setRegExpConstructorMultiline(ExecState* exec, JSObject* baseObject, JSValue* value)
     314void setRegExpConstructorMultiline(ExecState* exec, JSObject* baseObject, JSValuePtr value)
    315315{
    316316    asRegExpConstructor(baseObject)->setMultiline(value->toBoolean(exec));
     
    320320JSObject* constructRegExp(ExecState* exec, const ArgList& args)
    321321{
    322     JSValue* arg0 = args.at(exec, 0);
    323     JSValue* arg1 = args.at(exec, 1);
     322    JSValuePtr arg0 = args.at(exec, 0);
     323    JSValuePtr arg1 = args.at(exec, 1);
    324324
    325325    if (arg0->isObject(&RegExpObject::info)) {
     
    350350
    351351// ECMA 15.10.3
    352 static JSValue* callRegExpConstructor(ExecState* exec, JSObject*, JSValue*, const ArgList& args)
     352static JSValuePtr callRegExpConstructor(ExecState* exec, JSObject*, JSValuePtr, const ArgList& args)
    353353{
    354354    return constructRegExp(exec, args);
Note: See TracChangeset for help on using the changeset viewer.