Changeset 91194 in webkit for trunk/Source/JavaScriptCore/runtime/JSFunction.h
- Timestamp:
- Jul 18, 2011, 10:47:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSFunction.h
r90437 r91194 49 49 typedef JSObjectWithGlobalObject Base; 50 50 51 public:52 51 JSFunction(ExecState*, JSGlobalObject*, Structure*, int length, const Identifier&, NativeFunction); 53 52 JSFunction(ExecState*, JSGlobalObject*, Structure*, int length, const Identifier&, NativeExecutable*); 54 53 JSFunction(ExecState*, FunctionExecutable*, ScopeChainNode*); 54 55 public: 56 static JSFunction* create(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, int length, const Identifier& ident, NativeFunction nativeFunc) 57 { 58 return new (allocateCell<JSFunction>(*exec->heap())) JSFunction(exec, globalObject, structure, length, ident, nativeFunc); 59 } 60 static JSFunction* create(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, int length, const Identifier& ident, NativeExecutable* nativeExec) 61 { 62 return new (allocateCell<JSFunction>(*exec->heap())) JSFunction(exec, globalObject, structure, length, ident, nativeExec); 63 } 64 static JSFunction* create(ExecState* exec, FunctionExecutable* funcExec, ScopeChainNode* scopeChain) 65 { 66 return new (allocateCell<JSFunction>(*exec->heap())) JSFunction(exec, funcExec, scopeChain); 67 } 68 55 69 virtual ~JSFunction(); 56 70
Note:
See TracChangeset
for help on using the changeset viewer.