v8/test
Leszek Swirski a858cfd3ec [interpreter] Don't emit dead try blocks
Try blocks (whether catch or finally) will unconditionally create
handler tables and start a new basic block for the exception handler.
This can accidentally resurrect a dead block when the entire try block
is dead (and hence can never enter the exception handler in the first
place).

Add a deadness check to BuildTryCatch/Finally to fix this.

Bug: chromium:1273677
Change-Id: Icda9deb1459e47de5cb83e7b636299e24c3ebe77
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3306555
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78179}
2021-12-01 10:44:09 +00:00
..
benchmarks cppgc: Add binary trees benchmark 2021-11-18 16:42:24 +00:00
bigint [bigint][test] Better random input generation 2021-09-08 15:39:27 +00:00
cctest heap: Place LABs in IsolateData 2021-12-01 08:51:33 +00:00
common [wasm] Internal representation for function references 2021-11-24 13:07:28 +00:00
debugger [loong64][mips][test] Some tests do not need to be skipped 2021-11-25 07:06:58 +00:00
debugging
fuzzer [api] V8::Initialize cleanup 2021-11-30 14:30:38 +00:00
fuzzilli
inspector [debugger] Report hit breakpoints when stopping at a debugger statement 2021-11-30 06:00:38 +00:00
intl [intl] Update Intl.Locale.weekInfo sync latest 2021-11-30 23:17:28 +00:00
js-perf-test [class] add initialize-instance.js to JSTests3 resources 2021-11-25 15:49:19 +00:00
memory
message Revert "[top-level-await] Remove --harmony-top-level-await" 2021-11-30 22:14:41 +00:00
mjsunit [interpreter] Don't emit dead try blocks 2021-12-01 10:44:09 +00:00
mkgrokdump [api] V8::Initialize cleanup 2021-11-30 14:30:38 +00:00
mozilla Reland "[test] Unmark TSAN tests as SLOW/SKIP" 2021-06-28 10:19:20 +00:00
test262 [intl] Update Intl.Locale.weekInfo sync latest 2021-11-30 23:17:28 +00:00
torque [torque] Make return types required 2021-09-30 15:54:17 +00:00
unittests [api] V8::Initialize cleanup 2021-11-30 14:30:38 +00:00
wasm-api-tests [wasm][test] Cleanup macros 2021-09-24 16:47:54 +00:00
wasm-js Reland^2 "[wasm] Update spec tests" 2021-11-30 04:14:58 +00:00
wasm-spec-tests Reland^2 "[wasm] Update spec tests" 2021-11-30 04:14:58 +00:00
webkit [tests] Increase stack-size limit to make tests pass in debug mode 2021-10-26 07:05:19 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS