Changeset 42337 in webkit for trunk/JavaScriptCore/runtime/JSGlobalObject.cpp
- Timestamp:
- Apr 8, 2009, 4:08:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSGlobalObject.cpp
r42065 r42337 205 205 d()->prototypeFunctionStructure = PrototypeFunction::createStructure(d()->functionPrototype); 206 206 PrototypeFunction* callFunction = 0; 207 d()->functionPrototype->addFunctionProperties(exec, d()->prototypeFunctionStructure.get(), &callFunction); 207 PrototypeFunction* applyFunction = 0; 208 d()->functionPrototype->addFunctionProperties(exec, d()->prototypeFunctionStructure.get(), &callFunction, &applyFunction); 208 209 d()->callFunction = callFunction; 210 d()->applyFunction = applyFunction; 209 211 d()->objectPrototype = new (exec) ObjectPrototype(exec, ObjectPrototype::createStructure(jsNull()), d()->prototypeFunctionStructure.get()); 210 212 d()->functionPrototype->structure()->setPrototypeWithoutTransition(d()->objectPrototype); … … 374 376 markIfNeeded(d()->evalFunction); 375 377 markIfNeeded(d()->callFunction); 378 markIfNeeded(d()->applyFunction); 376 379 377 380 markIfNeeded(d()->objectPrototype);
Note:
See TracChangeset
for help on using the changeset viewer.