Changeset 195070 in webkit for trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
- Timestamp:
- Jan 14, 2016, 12:45:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
r195000 r195070 64 64 JSFunction* JSFunction::create(VM& vm, FunctionExecutable* executable, JSScope* scope) 65 65 { 66 JSFunction* result = createImpl(vm, executable, scope); 66 return create(vm, executable, scope, scope->globalObject()->functionStructure()); 67 } 68 69 JSFunction* JSFunction::create(VM& vm, FunctionExecutable* executable, JSScope* scope, Structure* structure) 70 { 71 JSFunction* result = createImpl(vm, executable, scope, structure); 67 72 executable->singletonFunction()->notifyWrite(vm, result, "Allocating a function"); 68 73 return result;
Note:
See TracChangeset
for help on using the changeset viewer.