Changeset 136927 in webkit for trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Dec 6, 2012, 11:44:01 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r136572 r136927 787 787 int scopeDelta = 0; 788 788 if (!codeBlock->needsFullScopeChain() || codeBlock->codeType() != FunctionCode 789 || callFrame->uncheckedR(codeBlock->activationRegister()).jsValue()) 790 scopeDelta = depth(codeBlock, scope) - handler->scopeDepth; 791 ASSERT(scopeDelta >= 0); 789 || callFrame->uncheckedR(codeBlock->activationRegister()).jsValue()) { 790 int currentDepth = depth(codeBlock, scope); 791 int targetDepth = handler->scopeDepth; 792 scopeDelta = currentDepth - targetDepth; 793 ASSERT(scopeDelta >= 0); 794 } 792 795 while (scopeDelta--) 793 796 scope = scope->next();
Note:
See TracChangeset
for help on using the changeset viewer.