v8/test
marja d4507a6cf9 [parser] Skipping inner funcs: add info about variables.
- Declaring a variable called "this" for preparsed functions was unnecessary;
  DeclarationScope ctor already adds the variable.

- "arguments" for preparsed scopes need to be declared after parsing the
  function, like it's done in the parser.

- Now arguments_ can be the dummy variable, so adapted code to it.

- A previous refactoring CL ( https://codereview.chromium.org/2638333002 ) was
  incomplete; it had added ParserBase::ParseFunctionBody but
  PreParser::ParseFunction didn't call it. This CL completes that work. This is
  needed for getting "arguments" declared properly for preparsed functions.

- AllocateVariablesRecursively is already called for preparsed scopes (without
  this CL, that is), and it bails out early. However, before the bailout it used
  to dcheck num_stack_slots_ == 0; that is no longer true since we've done scope
  analysis for preparsed scopes.

- Test fix: we cannot have any lazy inner functions in the test, except the
  topmost lazy inner function. Such functions would also be lazy in the parser
  case, and the parser would just throw away their variables. Then the test
  tries to verify the preparsed data against the scopes without variables and fails.

- Disabled a test w/ a sloppy block function, will get that working again in the
  upcoming CLs.

BUG=v8:5516

Review-Url: https://codereview.chromium.org/2655623005
Cr-Commit-Position: refs/heads/master@{#42685}
2017-01-26 10:14:40 +00:00
..
benchmarks
cctest [parser] Skipping inner funcs: add info about variables. 2017-01-26 10:14:40 +00:00
common [wasm] No need to use multiple inheritance for ModuleBytesEnv 2017-01-24 07:11:01 +00:00
debugger [debug] remove StepFrame 2017-01-25 23:50:57 +00:00
fuzzer [wasm] Fix the --wasm_code_fuzzer_gen_test again. 2017-01-25 14:10:04 +00:00
inspector [inspector] added creation frame for async call chains for promises 2017-01-26 09:32:37 +00:00
intl Fix two DCHECK failures in ICU case mapping code 2017-01-13 23:12:43 +00:00
js-perf-test [js-perf-test] Specify AsyncAwait tests in JSTests.json 2017-01-09 09:30:25 +00:00
memory
message [wasm] Generate correct locations for error messages 2016-12-12 12:46:02 +00:00
mjsunit [wasm] Do the default int64-lowering for all non-i64 stores. 2017-01-26 09:38:13 +00:00
mozilla [wasm] Add guard regions to end of WebAssembly.Memory buffers 2016-11-17 20:29:13 +00:00
preparser
promises-aplus
simdjs [test] Deprecate test data download for most test suites 2016-08-08 12:39:48 +00:00
test262 Revert of [test] Speculatively remove local-tests from archive (patchset #2 id:20001 of https://codereview.chromium.org/2643983002/ ) 2017-01-19 07:58:43 +00:00
unittests [complier] Enable parallel eager inner function compilation with compiler dispatcher. 2017-01-25 22:41:57 +00:00
webkit Turn on icu_case_mapping by default 2017-01-19 21:45:12 +00:00
bot_default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
bot_default.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
BUILD.gn Properly define v8_enable_inspector and its override in GN. 2016-11-21 19:29:38 +00:00
default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
default.isolate Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
optimize_for_size.gyp
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp
perf.isolate [test] Isolate files the perf runner depends on 2016-11-08 10:25:13 +00:00