Changeset 31746 in webkit for trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
- Timestamp:
- Apr 8, 2008, 7:17:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
r31226 r31746 328 328 // Set global functions. 329 329 330 d()->evalFunction = new PrototypeReflexiveFunction(exec, d()->functionPrototype, 1, exec->propertyNames().eval, globalFuncEval );330 d()->evalFunction = new PrototypeReflexiveFunction(exec, d()->functionPrototype, 1, exec->propertyNames().eval, globalFuncEval, this); 331 331 putDirectFunction(d()->evalFunction, DontEnum); 332 332 putDirectFunction(new PrototypeFunction(exec, d()->functionPrototype, 2, "parseInt", globalFuncParseInt), DontEnum); … … 535 535 } 536 536 537 JSGlobalObject* JSGlobalObject::toGlobalObject(ExecState*) const 538 { 539 return const_cast<JSGlobalObject*>(this); 540 } 541 537 542 ExecState* JSGlobalObject::globalExec() 538 543 {
Note:
See TracChangeset
for help on using the changeset viewer.