DescriptionThe ScopeIterator uses recorded scope position - as detailed in scopes.h - and
source code positions it gets from the program counter to recreate the scope
chain by reparsing the function or program.
This CL includes the following changes
* Adds source code positions for the assignment added by the rewriter.
* Run the preparser over global code first.
* Use the ScopeType from the ScopeInfo to determine if the code being debugged
is eval, function or global code instead of looking up the '.result' symbol.
TEST=mjsunit/debug-stepout-scope.js
Committed: http://code.google.com/p/v8/source/detail?r=10076
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed comments. #Patch Set 3 : Reapply the ScopeIterator reimplementation. Reverts r10033. #Patch Set 4 : ScopeIterator fix and test cases. #
Total comments: 1
Messages
Total messages: 6 (0 generated)
|