v8/test
Jakob Gruber 2cd24ebab9 [compiler] Consider pushed arguments in stack check offset
Function calls can push arguments onto the stack. The consumed stack
slots are not considered by the function-entry stack check, since
initial frame setup only reserves space for local slots, not call
arguments. This CL adds such logic by tracking the maximum pushed
argument count during instruction selection, and adding these slots to
the (existing) stack check offset logic in code generation.

Bug: chromium:1030167
Change-Id: I26a9407cf38009839b1dda2ff0c8ec297c15ed8d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2002540
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65814}
2020-01-16 14:30:54 +00:00
..
benchmarks Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
cctest [compiler] Consider pushed arguments in stack check offset 2020-01-16 14:30:54 +00:00
common [wasm][reference-types] Enable ref.null in Wasm code 2020-01-15 12:45:59 +00:00
debugger Remove fake wasm scripts from V8 backend 2020-01-09 13:21:01 +00:00
fuzzer [wasm] Add AtomicLoad and AtomicStore to the fuzzer 2020-01-14 19:29:57 +00:00
inspector [interpreter/runtime] Create ScriptContext before Script invocation 2020-01-16 13:11:39 +00:00
intl Hide date related types from Intl.DisplayNames 2019-12-19 19:31:09 +00:00
js-perf-test [js-perf-tests] Adds performance tests for BigInt subtraction 2019-10-22 13:32:09 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [wasm-simd][liftoff] Support SIMD locals 2020-01-14 21:11:08 +00:00
mjsunit [regexp] Fix CP advancement in all SKIP_* bytecodes 2020-01-16 13:10:34 +00:00
mkgrokdump [heap] Enable Verify for RO_SPACE when it is shared 2019-11-04 09:55:45 +00:00
mozilla Remove and update some outdated TODO(mstarzinger). 2019-12-13 10:18:04 +00:00
test262 Roll Test262 2020-01-15 09:35:22 +00:00
torque [torque] use iterators and constructors for ExtractFixedArray 2020-01-16 13:51:04 +00:00
unittests [compiler] Consider pushed arguments in stack check offset 2020-01-16 14:30:54 +00:00
wasm-api-tests [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
wasm-js [wasm] Update wasm spec tests 2019-12-16 14:14:39 +00:00
wasm-spec-tests [wasm][reference-types] Enable ref.null in Wasm code 2020-01-15 12:45:59 +00:00
webkit [class] Improve error message for calling anonymous class constructors 2019-12-05 21:13:07 +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