Index: src/compiler/code-generator.h |
diff --git a/src/compiler/code-generator.h b/src/compiler/code-generator.h |
index 78ac99016d08820e3dc19fb4d5f96ccf1087feae..aa96c1bc2c42cee04f8f86f5976e9bd0cfce8484 100644 |
--- a/src/compiler/code-generator.h |
+++ b/src/compiler/code-generator.h |
@@ -98,8 +98,10 @@ class CodeGenerator FINAL : public GapResolver::Assembler { |
void AddTranslationForOperand(Translation* translation, Instruction* instr, |
InstructionOperand* op); |
void AddNopForSmiCodeInlining(); |
- // =========================================================================== |
+ void EnsureSpaceForLazyDeopt(); |
+ void MarkLazyDeoptSite(); |
+ // =========================================================================== |
struct DeoptimizationState : ZoneObject { |
public: |
BailoutId bailout_id() const { return bailout_id_; } |
@@ -126,6 +128,7 @@ class CodeGenerator FINAL : public GapResolver::Assembler { |
ZoneDeque<DeoptimizationState*> deoptimization_states_; |
ZoneDeque<Handle<Object> > deoptimization_literals_; |
TranslationBuffer translations_; |
+ int last_lazy_deopt_pc_; |
}; |
} // namespace compiler |