v8/src
Jakob Gruber 9b24f6ecc5 Move knowledge of frame stack height into the FrameStateDescriptor
When serializing frame states into translations (later used by
deopts), we pass certain values, depending on the frame kind, to be
serialized as the frame height.

This CL moves the calculation of this height value into the
FrameStateDescriptor. In a follow-up, we may want to simplify the way
these height values are passed and processed by deopts.

The motivation behind this is to simplify calculation of unoptimized
stack frame sizes during compilation.

Bug: v8:9534
Change-Id: I20d2b57a42cea0c238b9c887dba0280f6aad76de
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1728609
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Auto-Submit: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63085}
2019-08-06 07:38:12 +00:00
..
api Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
asmjs Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
ast [utils] Simplify chaining of BitFields 2019-08-05 11:08:48 +00:00
base Revert "[wasm] Add support to allocate in a specific code region" 2019-08-05 12:18:40 +00:00
builtins Reland "[ic] Don't transition to premonomorphic state" 2019-08-05 15:51:47 +00:00
codegen Reland "[ic] Don't transition to premonomorphic state" 2019-08-05 15:51:47 +00:00
common Reland "[atomics] Wire up 64 bit atomic Wait in JS" 2019-08-05 07:44:12 +00:00
compiler Move knowledge of frame stack height into the FrameStateDescriptor 2019-08-06 07:38:12 +00:00
compiler-dispatcher Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
d8 Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
date Avoid a FixedArray allocation in date parser 2019-08-02 10:33:58 +00:00
debug Use correct native context when instantiating AccessorPairs 2019-08-05 11:25:48 +00:00
deoptimizer [deoptimizer, cleanup] Separating the implementation of GetFloatRegister 2019-08-02 10:52:48 +00:00
diagnostics Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
execution Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
extensions Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
flags Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
handles [utils] Simplify chaining of BitFields 2019-08-05 11:08:48 +00:00
heap Reland "[ic] Don't transition to premonomorphic state" 2019-08-05 15:51:47 +00:00
ic Reland "[ic] Don't transition to premonomorphic state" 2019-08-05 15:51:47 +00:00
init Add ApiNatives::InstantiateFunction that explicitly takes native context 2019-08-05 10:06:08 +00:00
inspector Enable cpplint 'runtime/references' warning 2019-07-08 09:59:36 +00:00
interpreter [utils] Simplify chaining of BitFields 2019-08-05 11:08:48 +00:00
json [utils] Simplify chaining of BitFields 2019-08-05 11:08:48 +00:00
libplatform [tracing] Fix TracingCpuProfiler test for Perfetto 2019-08-05 15:54:07 +00:00
libsampler Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
logging [WeakRefs] Make cleanup callback run as a task 2019-07-30 12:19:39 +00:00
numbers Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
objects Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
parsing [utils] Simplify chaining of BitFields 2019-08-05 11:08:48 +00:00
profiler [cpu-profiler] Ignore repeat source positions in the CPU profiler 2019-07-30 06:49:16 +00:00
protobuf Add OWNERS to src/protobuf 2019-05-15 11:17:23 +00:00
regexp Reland "[regexp] Better quick checks on loop entry nodes" 2019-07-31 14:34:20 +00:00
roots Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
runtime Reland "[ic] Don't transition to premonomorphic state" 2019-08-05 15:51:47 +00:00
sanitizer Move remaining files in src/ 2019-05-24 18:24:36 +00:00
snapshot Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
strings Reland "[utils] Make BitField final" 2019-07-29 14:20:58 +00:00
tasks Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
third_party Add missing owners files 2019-05-31 07:21:01 +00:00
torque [torque] remove support for implicit branching on macros with labels 2019-08-05 14:13:54 +00:00
tracing [tracing] Separate tracing implementations and add perfetto tests 2019-07-18 15:40:12 +00:00
trap-handler Remove 'set noparent' from OWNERS files where reasonable 2019-06-03 10:18:22 +00:00
utils [utils] Simplify chaining of BitFields 2019-08-05 11:08:48 +00:00
wasm Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
zone [parsing] Improve elision of hole checks for default parameters 2019-07-26 12:15:31 +00:00
DEPS [tracing] Use the new perfetto client API 2019-07-08 13:37:16 +00:00
OWNERS Make nested DEPS files commonly owned 2019-06-18 14:31:05 +00:00