Descriptionharmony-scoping: Implement debugger support for script scope.
We add a new ScopeType, ScopeType.Script. The scope with
ScopeType.Script is always present in the scope chain (ScopeIterator
fakes it if neededi - i.e. if ScriptContext for a script has not been
allocated since that script has no lexical declarations).
ScriptScope reflects ScriptContextTable.
R=yurys@chromium.org,yangguo@chromium.org
BUG=v8:3690
LOG=N
Committed: https://chromium.googlesource.com/v8/v8/+/28dd2e5e435eafe68737695a868cb46f1f9557f6
Patch Set 1 #Patch Set 2 : Minor nits #
Total comments: 12
Patch Set 3 : Renumbered scope types to be backward-compatible #
Total comments: 2
Patch Set 4 : Rebased patch for landing #
Total comments: 2
Patch Set 5 : Nit + rebased #
Messages
Total messages: 17 (3 generated)
|