v8/test
Tobias Tebbi 81186ff41d [torque] fix variables, returns and conditionals with constexpr
Variables/return values with constexpr type cannot have multiple
assignments. We check this now.
For conditionals, it is important to always infer a non-constexpr type.
This CL adds the ability to map any type (including union types) to be
mapped to their non-constexpr variant. Conditionals infer their type as
the non-constexpr version of a combination of the two branch types.

In addition, this improves subtyping for constexpr types:
If A extends B, then constexpr A extends constexpr B.
This makes it necessary to clean up "constexpr String", which has nothing
to do with tagged values.

Bug: v8:7793
Change-Id: Ia4d3cd5dc98f45b0ec89adf05c5c6111a0e51cc6
Reviewed-on: https://chromium-review.googlesource.com/1122864
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Daniel Clifford <danno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54167}
2018-07-03 12:45:40 +00:00
..
benchmarks Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
cctest [torque] fix variables, returns and conditionals with constexpr 2018-07-03 12:45:40 +00:00
common [explicit isolates] Remove GetIsolates from Map 2018-06-19 09:59:58 +00:00
debugger Revert "[debug] liveedit in native" 2018-07-03 06:43:04 +00:00
fuzzer [wasm][fuzzer] Improve error output for exception mismatch 2018-07-03 11:55:34 +00:00
inspector Revert "[debug] liveedit in native" 2018-07-03 06:43:04 +00:00
intl Add regression tests for Intl.Locale constructor. 2018-06-13 21:56:26 +00:00
js-perf-test [dataview] Improve JS performance test coverage for DataView 2018-07-03 09:06:24 +00:00
memory Reland "[tools] Add benchmark owners to the config" 2018-05-16 13:53:49 +00:00
message [array] Revert "Implement Array.p.sort in Torque" 2018-07-03 12:42:20 +00:00
mjsunit [turbofan] Inline DataView Int8 and Uint8 getters 2018-07-03 08:36:25 +00:00
mkgrokdump [cleanup] Add a name() helper to Space in heap 2018-06-20 13:55:02 +00:00
mozilla [test] Reverse sense of wasm_traps variant 2018-05-08 17:49:14 +00:00
preparser Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
test262 [runtime] perform type conversion earlier in IntegerIndexedElementSet 2018-06-28 18:28:33 +00:00
torque [torque] fix variables, returns and conditionals with constexpr 2018-07-03 12:45:40 +00:00
unittests [arm64] Use root register for addressing external references. 2018-07-03 11:20:44 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-07-03 10:37:55 +00:00
webkit [test] Skip slow tests 2018-05-23 14:14:34 +00:00
BUILD.gn Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00