v8/include
dslomov@chromium.org 1a64b02dcf harmony_scoping: Implement lexical bindings at top level
This implements correct semantics for "extensible" top level lexical scope.
The entire lexical scope is represented at runtime by GlobalContextTable, reachable from native context and accumulating global contexts from every script loaded into the context.

When the new script starts executing, it does the following validation:
- checks the GlobalContextTable and global object (non-configurable own) properties against the set of declarations it introduces and reports potential conflicts.
- invalidates the conflicting PropertyCells on global object, so that any code depending on them will miss/deopt causing any contextual lookups to be reexecuted under the new bindings
- adds the lexical bindings it introduces to the GlobalContextTable

Loads and stores for contextual lookups are modified so that they check the GlobalContextTable before looking up properties on global object, thus implementing the shadowing of global object properties by lexical declarations.

R=adamk@chromium.org, rossberg@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#25220}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25220 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-11-07 16:29:45 +00:00
..
libplatform Add an API to pump the message loop to libplatform 2014-07-03 09:33:36 +00:00
v8-debug.h Expose function CheckDebugBreak in the debugger api 2014-08-20 11:04:05 +00:00
v8-platform.h Remove default NOP implementation of MonotonicallyIncreasingTime. 2014-10-09 10:44:30 +00:00
v8-profiler.h The idea behind of this solution is to use the existing "relocation info" instead of consumption the CodeLinePosition events emitted by the V8 compilers. 2014-11-06 09:17:14 +00:00
v8-testing.h Bulk update of Google copyright headers in source files. 2014-04-29 06:42:26 +00:00
v8-util.h Make presubmit script happy again. 2014-06-10 09:24:00 +00:00
v8.h harmony_scoping: Implement lexical bindings at top level 2014-11-07 16:29:45 +00:00
v8config.h Use getauxval() if available. 2014-10-22 06:42:17 +00:00