Index: src/compiler/code-generator-impl.h |
diff --git a/src/compiler/code-generator-impl.h b/src/compiler/code-generator-impl.h |
index 729594839914b21a5a6c7b0026b0a45897598d70..7de32c5c9124120cf1441dc06353d7aecad1dad9 100644 |
--- a/src/compiler/code-generator-impl.h |
+++ b/src/compiler/code-generator-impl.h |
@@ -139,6 +139,19 @@ class InstructionOperandConverter { |
Instruction* instr_; |
}; |
+// Eager deoptimization exit. |
+class DeoptimizationExit : public ZoneObject { |
+ public: |
+ explicit DeoptimizationExit(int deoptimization_id) |
+ : deoptimization_id_(deoptimization_id) {} |
+ |
+ int deoptimization_id() const { return deoptimization_id_; } |
+ Label* label() { return &label_; } |
+ |
+ private: |
+ int const deoptimization_id_; |
+ Label label_; |
+}; |
// Generator for out-of-line code that is emitted after the main code is done. |
class OutOfLineCode : public ZoneObject { |