Changeset 37845 in webkit for trunk/JavaScriptCore/kjs/JSFunction.h
- Timestamp:
- Oct 24, 2008, 9:22:51 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSFunction.h
r37799 r37845 49 49 50 50 virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&); 51 virtual void put(ExecState*, const Identifier& propertyName, JSValue Ptr, PutPropertySlot&);51 virtual void put(ExecState*, const Identifier& propertyName, JSValue*, PutPropertySlot&); 52 52 virtual bool deleteProperty(ExecState*, const Identifier& propertyName); 53 53 54 54 JSObject* construct(ExecState*, const ArgList&); 55 JSValue Ptr call(ExecState*, JSValuePtrthisValue, const ArgList&);55 JSValue* call(ExecState*, JSValue* thisValue, const ArgList&); 56 56 57 57 // Note: Returns a null identifier for any parameters that will never get set … … 69 69 RefPtr<FunctionBodyNode> m_body; 70 70 71 static PassRefPtr<StructureID> createStructureID(JSValue Ptrprototype)71 static PassRefPtr<StructureID> createStructureID(JSValue* prototype) 72 72 { 73 73 return StructureID::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance)); … … 80 80 virtual CallType getCallData(CallData&); 81 81 82 static JSValue PtrargumentsGetter(ExecState*, const Identifier&, const PropertySlot&);83 static JSValue PtrcallerGetter(ExecState*, const Identifier&, const PropertySlot&);84 static JSValue PtrlengthGetter(ExecState*, const Identifier&, const PropertySlot&);82 static JSValue* argumentsGetter(ExecState*, const Identifier&, const PropertySlot&); 83 static JSValue* callerGetter(ExecState*, const Identifier&, const PropertySlot&); 84 static JSValue* lengthGetter(ExecState*, const Identifier&, const PropertySlot&); 85 85 86 86 ScopeChain m_scopeChain; 87 87 }; 88 88 89 JSFunction* asFunction(JSValue Ptr);89 JSFunction* asFunction(JSValue*); 90 90 91 inline JSFunction* asFunction(JSValue Ptrvalue)91 inline JSFunction* asFunction(JSValue* value) 92 92 { 93 93 ASSERT(asObject(value)->inherits(&JSFunction::info));
Note:
See TracChangeset
for help on using the changeset viewer.