Revert of Group lexical context variables for faster look up. (patchset #2 id:20001...
authoryangguo <yangguo@chromium.org>
Thu, 13 Aug 2015 06:56:30 +0000 (23:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 13 Aug 2015 06:56:41 +0000 (06:56 +0000)
commit3b18958be5ffed30dd3be19c2776e5bfd9fa488c
treeef976d5c41b3930085e1d6fe375b1bd6a9bd244d
parent67e4b3732aebf6ddd890818d331945bb8e74f03d
Revert of Group lexical context variables for faster look up. (patchset #2 id:20001 of https://codereview.chromium.org/1281883002/ )

Reason for revert:
This performance hack is no longer necessary.

Original issue's description:
> Group lexical context variables for faster look up.
>
> Currently, looking up a lexical context variable requires looking up
> the variable name and then checking its mode. This can be a bottleneck
> in Runtime_DeclareGlobals, even when no lexical context variables are
> declared.
>
> R=rossberg@chromium.org
> BUG=crbug:517778
> LOG=N
>
> Committed: https://crrev.com/a45ed17bb6aca02e940f13bbf456d660cccc86ae
> Cr-Commit-Position: refs/heads/master@{#30075}

TBR=rossberg@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=crbug:517778

Review URL: https://codereview.chromium.org/1290053002

Cr-Commit-Position: refs/heads/master@{#30145}
src/contexts.cc
src/contexts.h
src/objects.h
src/runtime/runtime-scopes.cc
src/scopeinfo.cc
src/scopes.cc