DescriptionAlways deserialize scope infos for parsing
When looking up variables in the ScopeInfo, we did a linear scan of the
ScopeInfo. Since that's unacceptably slow, a context slot cache was added
that would speed up repeated lookups of the same variable.
Instead, just always fully convert the ScopeInfo into scopes, so they can
lookup variables without scanning the ScopeInfo.
This also allows for removing the now unused ContextSlotCache.
R=adamk@chromium.org,verwaest@chromium.org,marja@chromium.org
BUG=v8:5315
Committed: https://crrev.com/81f824cad18e4dc873a8838943217eb9c9f0c1f0
Cr-Commit-Position: refs/heads/master@{#38953}
Patch Set 1 #Patch Set 2 : updates #Patch Set 3 : updates #
Messages
Total messages: 30 (14 generated)
|