v8/test
Patrick Thier e127f58410 [turbofan] Handle class constructor
Handling of class constructors was moved from CallFunction to Call
in [1].
When reducing calls with spread we forward varargs directly to
CallFunction, if we are spreading to inlined arguments or arguments of
the outermost function.
In that case we didn't check for class constructors and therefore didn't
raise an exception.
This CL adds checks for class constructors to all JSCall* nodes in
JSCallReducer that missed them before.

[1] https://crrev.com/c/3186434

Bug: chromium:1260623
Change-Id: Id39cdfd09ff5aae804ae30d96909518e408c9613
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3229369
Commit-Queue: Patrick Thier <pthier@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77472}
2021-10-20 13:18:00 +00:00
..
benchmarks [test] Mark pdfjs as slow for TSAN builds 2021-07-28 14:03:46 +00:00
bigint [bigint][test] Better random input generation 2021-09-08 15:39:27 +00:00
cctest Reland "[heap] Attach to shared isolate after setting up main thread" 2021-10-19 07:15:00 +00:00
common [wasm-relaxed-simd][x64] Prototype relaxed lane selects 2021-10-14 17:22:58 +00:00
debugger Ship findLast and findLastIndex 2021-10-11 23:02:45 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [fuzzer] Change the logic of GenerateOneOf 2021-10-18 15:09:40 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [inspector] Improve class name inference. 2021-10-19 11:40:06 +00:00
intl [intl] A fast path for Intl::CompareStrings 2021-10-07 12:35:29 +00:00
js-perf-test BigInt.asIntN benchmark 2021-10-12 12:14:39 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message Skip {map,set}-grow-failed tests on TSAN 2021-09-27 20:32:29 +00:00
mjsunit [turbofan] Handle class constructor 2021-10-20 13:18:00 +00:00
mkgrokdump [sandbox] Disallow ArrayBuffers outside the VM Cage 2021-08-25 09:52:38 +00:00
mozilla Reland "[test] Unmark TSAN tests as SLOW/SKIP" 2021-06-28 10:19:20 +00:00
test262 [rab/gsab] Add RAB / GSAB support to various TA.prototype functions 2021-10-18 07:15:41 +00:00
torque [torque] Make return types required 2021-09-30 15:54:17 +00:00
unittests Move heap sandbox related code into a new security/ directory 2021-10-19 12:00:34 +00:00
wasm-api-tests [wasm][test] Cleanup macros 2021-09-24 16:47:54 +00:00
wasm-js [wasm] Update spec tests 2021-10-12 12:39:37 +00:00
wasm-spec-tests [wasm] Update spec tests 2021-10-12 12:39:37 +00:00
webkit [test] Neuter stack-size for tests incompatible with stack-size fuzzing 2021-09-08 09:47:51 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00