| Index: src/compiler/code-generator.h
|
| diff --git a/src/compiler/code-generator.h b/src/compiler/code-generator.h
|
| index 70bf81f5afede940cbe927afbaf315e3e1ef0891..fcdd5961a9ef719627317c7aabafdaf921cbc016 100644
|
| --- a/src/compiler/code-generator.h
|
| +++ b/src/compiler/code-generator.h
|
| @@ -16,6 +16,7 @@ namespace internal {
|
| namespace compiler {
|
|
|
| // Forward declarations.
|
| +class DeoptimizationExit;
|
| class FrameAccessState;
|
| class Linkage;
|
| class OutOfLineCode;
|
| @@ -144,10 +145,10 @@ class CodeGenerator final : public GapResolver::Assembler {
|
| void RecordCallPosition(Instruction* instr);
|
| void PopulateDeoptimizationData(Handle<Code> code);
|
| int DefineDeoptimizationLiteral(Handle<Object> literal);
|
| - FrameStateDescriptor* GetFrameStateDescriptor(
|
| - Instruction* instr, size_t frame_access_state_offset);
|
| + FrameStateDescriptor* GetFrameStateDescriptor(Instruction* instr,
|
| + size_t frame_state_offset);
|
| int BuildTranslation(Instruction* instr, int pc_offset,
|
| - size_t frame_access_state_offset,
|
| + size_t frame_state_offset,
|
| OutputFrameStateCombine state_combine);
|
| void BuildTranslationForFrameStateDescriptor(
|
| FrameStateDescriptor* descriptor, InstructionOperandIterator* iter,
|
| @@ -165,6 +166,9 @@ class CodeGenerator final : public GapResolver::Assembler {
|
| void EnsureSpaceForLazyDeopt();
|
| void MarkLazyDeoptSite();
|
|
|
| + DeoptimizationExit* AddDeoptimizationExit(Instruction* instr,
|
| + size_t frame_state_offset);
|
| +
|
| // Converts the delta in the number of stack parameter passed from a tail
|
| // caller to the callee into the distance (in pointers) the SP must be
|
| // adjusted, taking frame elision and other relevant factors into
|
| @@ -210,6 +214,7 @@ class CodeGenerator final : public GapResolver::Assembler {
|
| GapResolver resolver_;
|
| SafepointTableBuilder safepoints_;
|
| ZoneVector<HandlerInfo> handlers_;
|
| + ZoneDeque<DeoptimizationExit*> deoptimization_exits_;
|
| ZoneDeque<DeoptimizationState*> deoptimization_states_;
|
| ZoneDeque<Handle<Object>> deoptimization_literals_;
|
| size_t inlined_function_count_;
|
|
|