Changeset 29431 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jan 12, 2008, 3:03:30 AM (18 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r29428 r29431 1 2008-01-12 Cameron Zwarich <[email protected]> 2 3 Reviewed by Maciej. 4 5 Fixes a problem with the ActivationImp tear-off patch (r29425) where 6 some of the calls to JSGlobalObject::tearOffActivation() were using 7 the wrong test to determine whether it should leave a relic behind. 8 9 * kjs/function.cpp: 10 (KJS::FunctionImp::argumentsGetter): 11 (KJS::ActivationImp::getOwnPropertySlot): 12 1 13 2008-01-11 Geoffrey Garen <[email protected]> 2 14 -
trunk/JavaScriptCore/kjs/function.cpp
r29425 r29431 89 89 for (ExecState* e = exec; e; e = e->callingExecState()) 90 90 if (e->function() == thisObj) { 91 e->dynamicGlobalObject()->tearOffActivation(e, e == exec);91 e->dynamicGlobalObject()->tearOffActivation(e, e != exec); 92 92 return e->activationObject()->get(exec, propertyName); 93 93 } … … 392 392 for (ExecState* e = exec; e; e = e->callingExecState()) 393 393 if (e->function() == d()->function) { 394 e->dynamicGlobalObject()->tearOffActivation(e, e == exec);394 e->dynamicGlobalObject()->tearOffActivation(e, e != exec); 395 395 ActivationImp* newActivation = e->activationObject(); 396 396 slot.setCustom(newActivation, newActivation->getArgumentsGetter());
Note:
See TracChangeset
for help on using the changeset viewer.