Changeset 12921 in webkit for trunk/JavaScriptCore/kjs/function_object.cpp
- Timestamp:
- Feb 21, 2006, 8:57:53 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function_object.cpp
r12911 r12921 53 53 } 54 54 55 bool FunctionPrototype::implementsCall() const56 {57 return true;58 }59 60 55 // ECMA 15.3.4 61 56 JSValue *FunctionPrototype::callAsFunction(ExecState */*exec*/, JSObject */*thisObj*/, const List &/*args*/) … … 71 66 { 72 67 putDirect(lengthPropertyName, len, DontDelete|ReadOnly|DontEnum); 73 }74 75 76 bool FunctionProtoFunc::implementsCall() const77 {78 return true;79 68 } 80 69 … … 267 256 } 268 257 269 270 bool FunctionObjectImp::implementsCall() const271 {272 return true;273 }274 275 258 // ECMA 15.3.1 The Function Constructor Called as a Function 276 259 JSValue *FunctionObjectImp::callAsFunction(ExecState *exec, JSObject */*thisObj*/, const List &args) … … 278 261 return construct(exec,args); 279 262 } 280
Note:
See TracChangeset
for help on using the changeset viewer.