v8/test/cctest
adamk ed18aa65ea Remove support for legacy const, part 1
Now that ES2015 const has shipped, in Chrome 49, legacy const declarations
are no more. This lets us remove a bunch of code from many parts of the
codebase.

In this patch, I remove parser support for generating legacy const variables
from const declarations. This also removes the special "illegal declaration"
bit from Scope, which has ripples into all compiler backends.

Also gone are any tests which relied on legacy const declarations.

Note that we do still generate a Variable in mode CONST_LEGACY in one case:
function name bindings in sloppy mode. The likely fix there is to add a new
Variable::Kind for this case and handle it appropriately for stores in each
backend, but I leave that for a later patch to make this one completely
subtractive.

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

Cr-Commit-Position: refs/heads/master@{#35002}
2016-03-22 17:52:13 +00:00
..
compiler Remove support for legacy const, part 1 2016-03-22 17:52:13 +00:00
heap [heap] Move to two-level free-list 2016-03-17 11:11:05 +00:00
interpreter Remove support for legacy const, part 1 2016-03-22 17:52:13 +00:00
wasm [wasm] Turn on tests for float-to-int conversion in test-run-wasm-64. 2016-03-17 12:39:25 +00:00
cctest_exe.isolate [Swarming] Isolate perf tests. 2016-02-15 11:17:18 +00:00
cctest.cc [test] Remove dependent commands. 2016-03-02 13:14:13 +00:00
cctest.gyp [Interpreter] TurboFan implementation of intrinsics. 2016-03-22 11:36:05 +00:00
cctest.h [test] Remove dependent commands. 2016-03-02 13:14:13 +00:00
cctest.isolate [Interpreter] Refactor bytecode generator test suite. 2016-02-25 12:07:19 +00:00
cctest.status [Interpreter] Fixes CopyBytecodeArray to copy interrupt_budget field. 2016-03-22 11:05:21 +00:00
DEPS Add DEPS files and run checkdeps in presubmit check 2014-06-03 13:39:42 +00:00
expression-type-collector-macros.h Make typing-asm match spec more closely around load/store, add more tests. 2015-11-30 21:11:47 +00:00
expression-type-collector.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
expression-type-collector.h Create ast/ and parsing/ subdirectories and move appropriate files 2015-11-26 16:23:07 +00:00
gay-fixed.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
gay-fixed.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
gay-precision.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
gay-precision.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
gay-shortest.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
gay-shortest.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
log-eq-of-logging-and-traversal.js Fix test-log/EquivalenceOfLoggingAndTraversal 2013-08-26 14:56:23 +00:00
OWNERS S390: Check in OWNER file on to s390 directory 2016-03-15 14:25:38 +00:00
print-extension.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
print-extension.h Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
profiler-extension.cc Unflake CPU profiler tests. 2016-02-08 18:12:20 +00:00
profiler-extension.h Unflake CPU profiler tests. 2016-02-08 18:12:20 +00:00
test-accessors.cc Add the data parameter back to the access check callback 2016-02-03 10:02:35 +00:00
test-api-accessors.cc Generalize 'fast accessor' tests to work with --always-opt. 2016-01-14 14:25:02 +00:00
test-api-fast-accessor-builder.cc [crankshaft] Replace stub cache harvesting with a bit of type propagation 2016-02-15 15:22:00 +00:00
test-api-interceptors.cc Add the data parameter back to the access check callback 2016-02-03 10:02:35 +00:00
test-api.cc Remove runtime flags for Proxy and Reflect 2016-03-21 19:40:02 +00:00
test-api.h Move heap and CPU profilers into a dedicated directory. 2015-09-28 19:34:18 +00:00
test-array-list.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-asm-validator.cc Fix conversion to float32, typing issue, split apart asm-wasm tests. 2016-03-21 20:34:40 +00:00
test-assembler-arm64.cc [arm64] Make sure that memory allocated for assembler tests is executable. 2016-02-29 10:52:34 +00:00
test-assembler-arm.cc [turbofan] ARM: Reduce out-of-line NaN code size 2016-03-14 15:31:04 +00:00
test-assembler-ia32.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-assembler-mips64.cc MIPS64: Fix 'Fix 'MIPS: use DAHI/DATH for li macro on mips64r6.'' 2016-03-03 18:55:02 +00:00
test-assembler-mips.cc MIPS: Improve Lsa/Dlsa implementations. 2016-03-10 13:41:34 +00:00
test-assembler-ppc.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-assembler-s390.cc S390: Initial test changes and files checkin. 2016-03-15 18:09:36 +00:00
test-assembler-x64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-assembler-x87.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-ast-expression-visitor.cc Get rid of the different kinds of yield in the AST & full-codegen. 2016-03-06 09:20:12 +00:00
test-ast.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-atomicops.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-bignum-dtoa.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-bignum.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-bit-vector.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-circular-queue.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-arm64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-arm.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-ia32.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-mips64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-mips.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-x64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-x87.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs.h Introduce x87 port 2014-05-23 16:37:27 +00:00
test-compiler.cc Add GetProperty/GetElement to JSReceiver and use it where possible 2016-03-08 17:30:42 +00:00
test-constantpool.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-conversions.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-cpu-profiler.cc [Interpreter] Log source positions for bytecode arrays. 2016-03-02 02:10:53 +00:00
test-date.cc [builtins] Refactor the remaining Date builtins. 2016-01-12 10:48:26 +00:00
test-debug.cc [interpreter, debugger] fix remaining cctest failures. 2016-03-15 11:01:09 +00:00
test-decls.cc Remove support for legacy const, part 1 2016-03-22 17:52:13 +00:00
test-deoptimization.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-dictionary.cc [runtime] Clean up symbol access in identity hash code 2016-03-04 14:39:10 +00:00
test-disasm-arm64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-disasm-arm.cc [turbofan] ARM: Reduce out-of-line NaN code size 2016-03-14 15:31:04 +00:00
test-disasm-ia32.cc Extends testb and cmpb/cmpw instruction support in the ia32 assembler. 2016-03-21 10:09:26 +00:00
test-disasm-mips64.cc MIPS64: r6 compact branch optimization. 2016-01-06 13:36:41 +00:00
test-disasm-mips.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-disasm-ppc.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-disasm-s390.cc S390: Initial test changes and files checkin. 2016-03-15 18:09:36 +00:00
test-disasm-x64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-disasm-x87.cc X87: Extends testb and cmpb/cmpw instruction support in the ia32 assembler. 2016-03-22 05:39:56 +00:00
test-diy-fp.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-double.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-dtoa.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-elements-kind.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-experimental-extra.js Add experimental, non-snapshotted V8 extras 2015-08-20 00:01:14 +00:00
test-extra.js [bootstrapper] extra natives must not use natives syntax. 2016-02-05 12:33:55 +00:00
test-fast-dtoa.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-feedback-vector.cc Revert of Type Feedback Vector lives in the closure (patchset #2 id:40001 of https://codereview.chromium.org/1668103002/ ) 2016-02-05 10:48:35 +00:00
test-feedback-vector.h The metadata part of TypeFeedbackVector is extracted to TypeFeedbackMetadata array. 2015-10-07 10:33:32 +00:00
test-field-type-tracking.cc [LookupIterator] Avoid additional descriptor lookup in TransitionToAccessorProperty 2016-03-04 12:19:03 +00:00
test-fixed-dtoa.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-flags.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-func-name-inference.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-fuzz-arm64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-gc-tracer.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-global-handles.cc Don't NULL-check GlobalHandle::Node::object_ 2016-01-25 13:10:09 +00:00
test-global-object.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-hashing.cc S390: Initial test changes and files checkin. 2016-03-15 18:09:36 +00:00
test-hashmap.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-heap-profiler.cc [serializer] split up src/snapshot/serialize.* 2016-03-01 14:44:08 +00:00
test-hydrogen-types.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-identity-map.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-inobject-slack-tracking.cc [turbofan] Fix double object allocation when inlining a construct call of a derived class or an Api function. 2016-03-15 11:01:08 +00:00
test-javascript-arm64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-js-arm64-variables.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-list.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-liveedit.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-lockers.cc S390: Initial test changes and files checkin. 2016-03-15 18:09:36 +00:00
test-log-stack-tracer.cc Additional fixes for external callback logging in profiler. 2016-03-04 18:57:30 +00:00
test-log.cc Additional fixes for external callback logging in profiler. 2016-03-04 18:57:30 +00:00
test-macro-assembler-arm.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-macro-assembler-ia32.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-macro-assembler-mips64.cc MIPS64: Fix test Cvt_s_uw_Trunc_uw_s. 2016-03-18 13:22:03 +00:00
test-macro-assembler-mips.cc MIPS: Improve Lsa/Dlsa implementations. 2016-03-10 13:41:34 +00:00
test-macro-assembler-x64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-macro-assembler-x87.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-mementos.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-microtask-delivery.cc Introduce v8::MicrotasksScope. 2016-03-04 17:42:17 +00:00
test-object-observe.cc Add GetProperty/GetElement to JSReceiver and use it where possible 2016-03-08 17:30:42 +00:00
test-parsing.cc Remove support for legacy const, part 1 2016-03-22 17:52:13 +00:00
test-platform-linux.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-platform-win32.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-platform.cc S390: Initial test changes and files checkin. 2016-03-15 18:09:36 +00:00
test-profile-generator.cc Make CPU profiler unwind the inlined functions stack. 2016-03-01 06:00:08 +00:00
test-random-number-generator.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-receiver-check-hidden-prototype.cc Fix the receiver check in the HandleFastApiCall builtin. 2016-01-14 12:24:04 +00:00
test-regexp.cc S390: Initial test changes and files checkin. 2016-03-15 18:09:36 +00:00
test-reloc-info.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-representation.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-run-wasm-relocation-arm64.cc Assembler changes for enabling GrowHeap in Wasm 2016-03-16 18:15:49 +00:00
test-run-wasm-relocation-arm.cc Assembler changes for enabling GrowHeap in Wasm 2016-03-16 18:15:49 +00:00
test-run-wasm-relocation-ia32.cc Assembler changes for enabling GrowHeap in Wasm 2016-03-16 18:15:49 +00:00
test-run-wasm-relocation-x64.cc Assembler changes for enabling GrowHeap in Wasm 2016-03-16 18:15:49 +00:00
test-run-wasm-relocation-x87.cc X87: Assembler changes for enabling GrowHeap in Wasm 2016-03-17 08:40:08 +00:00
test-sampler-api.cc S390: Initial test changes and files checkin. 2016-03-15 18:09:36 +00:00
test-serialize.cc [serializer] ensure that immortal immovable roots are correctly deserialized. 2016-03-17 13:16:25 +00:00
test-simd.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-slots-buffer.cc [cctest] Move most heap related tests to test/cctest/heap and clean wrt IWYU 2015-12-09 11:26:15 +00:00
test-strings.cc Revert of [regexp] implement /ui to mirror the implementation for /i. (patchset #2 id:20001 of https://codereview.chromium.org/1641613002/ ) 2016-02-02 11:44:45 +00:00
test-strtod.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-symbols.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-thread-termination.cc Introduce v8::MicrotasksScope. 2016-03-04 17:42:17 +00:00
test-threads.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-trace-event.cc [Tracing] Remove deprecated AddTraceEvent 2016-03-01 21:20:48 +00:00
test-transitions.cc Don't include field-type.h/field-index.h into property.h 2016-02-16 13:28:47 +00:00
test-typedarrays.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-types.cc [compiler] Drop the CompareNilIC. 2016-02-27 19:13:46 +00:00
test-typing-reset.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-unbound-queue.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-unboxed-doubles.cc Remove the global Strength enum class completely. 2016-03-01 16:06:04 +00:00
test-unique.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-unscopables-hidden-prototype.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-utils-arm64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-utils-arm64.h [test] Test expectations in cctest should use CHECK and not DCHECK. 2015-12-07 05:37:15 +00:00
test-utils.cc [serializer] split up src/snapshot/serialize.* 2016-03-01 14:44:08 +00:00
test-version.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-weakmaps.cc [heap] Move to page lookups for SemiSpace, NewSpace, and Heap containment methods 2016-02-10 09:47:16 +00:00
test-weaksets.cc [heap] Move to page lookups for SemiSpace, NewSpace, and Heap containment methods 2016-02-10 09:47:16 +00:00
testcfg.py Improve test-serialize test cases. 2016-03-10 09:58:26 +00:00
trace-extension.cc Add CollectSample API function to CpuProfiler 2016-01-26 20:48:28 +00:00
trace-extension.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
types-fuzz.h Remove the template magic from types.(h|cc), remove types-inl.h. 2016-02-02 07:26:06 +00:00