v8/test
Leszek Swirski 08f68102f8 [parser] Allow declaring variables without a proxy
Declare Variables with a name and position, rather than by passing
through a VariableProxy. This allows us to not create dummy proxies
for things like function declarations, and allows us to consider those
declarations unused.

As a side-effect, we also have to check if a variable is unused in the
bytecode generator (as it will no longer be allocated), and we end up
skip generating code/SFIs for dead variables/functions.

Change-Id: I4c2c872473f23e124f9456b4b92f87159658f8e0
Reviewed-on: https://chromium-review.googlesource.com/c/1414916
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59088}
2019-01-25 09:10:59 +00:00
..
benchmarks [Test] CSuite benchmark runner 2018-12-21 13:15:57 +00:00
cctest [parser] Allow declaring variables without a proxy 2019-01-25 09:10:59 +00:00
common [test] Refactor AllocateAssemblerBuffer 2019-01-17 11:57:07 +00:00
debugger [parser] Allow declaring variables without a proxy 2019-01-25 09:10:59 +00:00
fuzzer [logger] Untangle log.h includes 2019-01-22 10:56:52 +00:00
inspector [parser] Allow declaring variables without a proxy 2019-01-25 09:10:59 +00:00
intl [Intl] Fix resolved-locale-with-hc-unicode 2019-01-25 02:56:36 +00:00
js-perf-test [test] add performance tests for String#startsWith 2019-01-17 08:23:06 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message [parser] Allow declaring variables without a proxy 2019-01-25 09:10:59 +00:00
mjsunit [turbofan] Handle exceptional edges when inserting unreachable node. 2019-01-24 12:43:46 +00:00
mkgrokdump [nojit] Don't allocate executable memory in jitless mode 2019-01-10 10:55:48 +00:00
mozilla Revert "[runtime] Reduce spread/apply call max arguments" 2018-11-30 09:54:47 +00:00
preparser [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
test262 [Intl] Fix resolved-locale-with-hc-unicode 2019-01-25 02:56:36 +00:00
torque Reland "[torque] Implement safe initialization of classes through hidden structs" 2019-01-22 17:49:39 +00:00
unittests Revert "Expose the number of microtasks from RunMicrotasks" 2019-01-23 08:21:51 +00:00
wasm-js [test] skiping failing wasm test due to BE issue 2019-01-24 17:16:36 +00:00
wasm-spec-tests [wasm] Update spec tests 2019-01-23 14:57:21 +00:00
webkit [array] Enable copying from the prototype chain when sorting JSArrays 2019-01-22 16:34:38 +00:00
BUILD.gn Reland "[wasm] Add a new wasm-js testsuite to run js-api tests" 2018-10-18 20:18:55 +00:00