Changeset 27359 in webkit for trunk/JavaScriptCore/kjs/function.cpp
- Timestamp:
- Nov 1, 2007, 1:50:28 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function.cpp
r27344 r27359 485 485 value->mark(); 486 486 } 487 488 ASSERT(d->function); 489 if (!d->function->marked()) 490 d->function->mark(); 487 491 488 492 if (d->argumentsObject && !d->argumentsObject->marked()) … … 492 496 void ActivationImp::createArgumentsObject(ExecState* exec) 493 497 { 494 d->argumentsObject = new Arguments(exec, d->exec->function(), *d->exec->arguments(), this); 498 // Since "arguments" is only accessible while a function is being called, 499 // we can retrieve our argument list from the ExecState for our function 500 // call instead of storing the list ourselves. 501 d->argumentsObject = new Arguments(exec, d->function, *d->exec->arguments(), this); 495 502 } 496 503
Note:
See TracChangeset
for help on using the changeset viewer.