Changeset 156620 in webkit for trunk/Source/JavaScriptCore/runtime/JSObject.cpp
- Timestamp:
- Sep 29, 2013, 3:20:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSObject.cpp
r156602 r156620 2202 2202 } 2203 2203 2204 void JSObject::putDirectNativeFunction( ExecState* exec, JSGlobalObject* globalObject, const PropertyName& propertyName, unsigned functionLength, NativeFunction nativeFunction, Intrinsic intrinsic, unsigned attributes)2204 void JSObject::putDirectNativeFunction(VM& vm, JSGlobalObject* globalObject, const PropertyName& propertyName, unsigned functionLength, NativeFunction nativeFunction, Intrinsic intrinsic, unsigned attributes) 2205 2205 { 2206 2206 StringImpl* name = propertyName.publicName(); 2207 2207 ASSERT(name); 2208 2208 2209 VM& vm = exec->vm();2210 2209 JSFunction* function = JSFunction::create(vm, globalObject, functionLength, name, nativeFunction, intrinsic); 2211 2210 putDirect(vm, propertyName, function, attributes);
Note:
See TracChangeset
for help on using the changeset viewer.