v8/test
Nico Hartmann fd5cc8837a Fix feedback loss when builtins throw
In BinaryOpAssembler::Generate_BinaryOperationWithFeedback, the
feedback is stored only after the respective builtin/runtime call.
If this call throws an exception, the feedback is lost, leading
to a deopt loop in some cases. This CL fixes that issue by writing
the gathered feedback before passing control to the builtin.

Bug: chromium:1077197, v8:9441
Change-Id: I20e4b14815520224e2c6f8af1af6a89f754ccddf
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2202904
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Reviewed-by: Mythri Alle <mythria@chromium.org>
Auto-Submit: Nico Hartmann <nicohartmann@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68038}
2020-05-28 12:20:37 +00:00
..
benchmarks [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
cctest Reland "[turbofan] Improve equality on NumberOrOddball" 2020-05-28 11:33:46 +00:00
common [wasm-gc] Add packed types to ValueType 2020-05-27 05:19:58 +00:00
debugger [debugger] Mark Math.random as having side effects 2020-05-20 14:41:02 +00:00
debugging [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
fuzzer [wasm-simd][fuzzer] Add unsigned rounding average 2020-05-27 16:58:15 +00:00
inspector [inspector] Report length and endColumn correctly for Wasm. 2020-05-27 08:05:08 +00:00
intl [Intl] Fix hour cycle in formatRange 2020-05-12 20:38:45 +00:00
js-perf-test [js-perf-test] Benchmark for sloppy equality 2020-05-04 08:29:00 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [wasm] Implement tracing of function calls 2020-05-27 08:24:38 +00:00
mjsunit Fix feedback loss when builtins throw 2020-05-28 12:20:37 +00:00
mkgrokdump [heap] Split out paged-spaces.h 2020-05-14 19:25:25 +00:00
mozilla [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
test262 [Promise.any] Make AggregateError.errors a data property 2020-05-28 08:36:02 +00:00
torque [torque] Generate better code when using & operator on bitfields 2020-05-22 21:59:06 +00:00
unittests [test] Skip hanging death test on Win asan 2020-05-27 11:09:22 +00:00
wasm-api-tests [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
wasm-js [wasm] Update wasm spec tests 2020-05-25 07:59:57 +00:00
wasm-spec-tests [wasm] Update wasm spec tests 2020-05-25 07:59:57 +00:00
webkit [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
BUILD.gn [preparser] deprecate stand-alone "preparser" test-suite 2019-11-20 08:52:59 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00