v8/test/unittests
jochen 94492437d9 Fully deserialize the scope chain after parsing, not before
To avoid a dependency on the heap during parsing, we only create a scope chain
without linking to the associated ScopeInfo objects before parsing. This is
enough to avoid special cases during parsing of arrow functions / eval.

Looking at the outer scope's variables during parsing was only needed for hosting
sloppy block functions inside eval. To be able to do this now, we hoist for the
outer-most eval scope after parsing, in DeclarationScope::Analyze.

DeclarationScope::Analyze is also where we replace the outer scope chain with the
fully deserialized version, so variables can be resolved.

Also, this unifies background and foreground thread parsing, as we don't have to
worry about ScopeInfos getting accessed before we're back on the main thread.

BUG=v8:5215
R=verwaest@chromium.org,marja@chromium.org,adamk@chromium.org

Review-Url: https://codereview.chromium.org/2306413002
Cr-Commit-Position: refs/heads/master@{#39452}
2016-09-15 16:41:26 +00:00
..
base [base] Add Decrement and assignment operators to AtomicNumber 2016-08-07 18:31:08 +00:00
compiler [turbofan] Introduce TruncateTaggedToBit operator for ToBoolean truncation. 2016-09-14 13:12:28 +00:00
compiler-dispatcher Fully deserialize the scope chain after parsing, not before 2016-09-15 16:41:26 +00:00
heap [heap] Introduce enum of garbage collection reasons. 2016-09-07 10:03:08 +00:00
interpreter [Interpreter] Add an unsigned immediate operand type 2016-09-13 14:49:10 +00:00
libplatform Add test for posting a single task to the worker pool 2016-08-23 11:56:57 +00:00
wasm [wasm] void is not a valid type for a global. 2016-09-14 15:44:58 +00:00
BUILD.gn Disentangle gyp and gn files 2016-09-14 19:02:41 +00:00
cancelable-tasks-unittest.cc Fix gcc 4.9.2 signed-compare error. 2015-11-15 12:48:19 +00:00
char-predicates-unittest.cc Conform to the unittest naming convention. 2014-10-10 08:06:21 +00:00
counters-unittest.cc Fix more -Werror=sign-compare bugs with GCC 4.9.2 2015-05-11 11:07:15 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
eh-frame-iterator-unittest.cc Reland Implement .eh_frame writer and disassembler. 2016-07-14 10:33:26 +00:00
eh-frame-writer-unittest.cc Fix EhFrameTest.Alignment unit test on ARM. 2016-07-14 15:41:58 +00:00
locked-queue-unittest.cc Add lock-based unbounded queue 2015-11-18 10:54:13 +00:00
register-configuration-unittest.cc [Turbofan] Revert FP register aliasing support on Arm. 2016-07-29 00:50:57 +00:00
run-all-unittests.cc [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
source-position-table-unittest.cc Avoid accessing Isolate in source position logging. 2016-08-17 09:31:39 +00:00
test-utils.cc Provide a convenience array buffer allocator 2016-06-29 07:42:40 +00:00
test-utils.h Add parser finalization step 2016-08-01 11:30:18 +00:00
unittests.gyp [turbofan] Separate typed optimizations from JSTypedLowering. 2016-08-26 07:58:30 +00:00
unittests.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
unittests.status X87: disable Acosh/ASinh test cases for x87. 2016-07-05 08:59:09 +00:00
value-serializer-unittest.cc Follow object map transitions when deserializing object properties. 2016-09-14 19:11:39 +00:00