Changeset 153223 in webkit for trunk/Source/JavaScriptCore/runtime/JSObject.cpp
- Timestamp:
- Jul 24, 2013, 9:02:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSObject.cpp
r153189 r153223 2200 2200 ASSERT(name); 2201 2201 2202 JSFunction* function = 2203 JSFunction::create(exec, globalObject, functionLength, name, nativeFunction, intrinsic); 2202 JSFunction* function = JSFunction::create(exec, globalObject, functionLength, name, nativeFunction, intrinsic); 2204 2203 putDirect(exec->vm(), propertyName, function, attributes); 2204 } 2205 2206 void JSObject::putDirectNativeFunctionWithoutTransition(ExecState* exec, JSGlobalObject* globalObject, const PropertyName& propertyName, unsigned functionLength, NativeFunction nativeFunction, Intrinsic intrinsic, unsigned attributes) 2207 { 2208 StringImpl* name = propertyName.publicName(); 2209 ASSERT(name); 2210 2211 JSFunction* function = JSFunction::create(exec, globalObject, functionLength, name, nativeFunction, intrinsic); 2212 putDirectWithoutTransition(exec->vm(), propertyName, function, attributes); 2205 2213 } 2206 2214
Note:
See TracChangeset
for help on using the changeset viewer.