Commit a917319a authored by ishell's avatar ishell Committed by Commit bot

[deoptimizer] Simplify handling of bottommost output frames.

This is a prerequisite for teaching deoptimizer to drop possible arguments adapter frame below current input frame which is needed to support tail call inlining.

Review URL: https://codereview.chromium.org/1761303002

Cr-Commit-Position: refs/heads/master@{#34533}
parent 9c61327e
This diff is collapsed.
......@@ -600,6 +600,7 @@ class Deoptimizer : public Malloced {
unsigned output_offset,
const char* debug_hint_string);
unsigned ComputeInputFrameAboveFpFixedSize() const;
unsigned ComputeInputFrameSize() const;
static unsigned ComputeJavascriptFixedSize(SharedFunctionInfo* shared);
static unsigned ComputeInterpretedFixedSize(SharedFunctionInfo* shared);
......@@ -659,8 +660,15 @@ class Deoptimizer : public Malloced {
// Array of output frame descriptions.
FrameDescription** output_;
// Caller frame details computed from input frame.
intptr_t caller_frame_top_;
intptr_t caller_fp_;
intptr_t caller_pc_;
intptr_t caller_constant_pool_;
intptr_t input_frame_context_;
// Key for lookup of previously materialized objects
Address stack_fp_;
intptr_t stack_fp_;
TranslatedState translated_state_;
struct ValueToMaterialize {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment