Changeset 156602 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Sep 28, 2013, 7:15:24 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r156402 r156602 251 251 void addFunction(VM& vm, const char* name, NativeFunction function, unsigned arguments) 252 252 { 253 Identifier identifier( globalExec(), name);254 putDirect(vm, identifier, JSFunction::create( globalExec(), this, arguments, identifier.string(), function));253 Identifier identifier(&vm, name); 254 putDirect(vm, identifier, JSFunction::create(vm, this, arguments, identifier.string(), function)); 255 255 } 256 256 257 257 void addConstructableFunction(VM& vm, const char* name, NativeFunction function, unsigned arguments) 258 258 { 259 Identifier identifier( globalExec(), name);260 putDirect(vm, identifier, JSFunction::create( globalExec(), this, arguments, identifier.string(), function, NoIntrinsic, function));259 Identifier identifier(&vm, name); 260 putDirect(vm, identifier, JSFunction::create(vm, this, arguments, identifier.string(), function, NoIntrinsic, function)); 261 261 } 262 262 };
Note:
See TracChangeset
for help on using the changeset viewer.