Index: src/compiler/code-generator-impl.h |
diff --git a/src/compiler/code-generator-impl.h b/src/compiler/code-generator-impl.h |
index 4dccdc912ce73c20306e08df393a0c65e3831dbf..8bf3a9ea4e3bbc9a1801f284fa935b12b0eb8f47 100644 |
--- a/src/compiler/code-generator-impl.h |
+++ b/src/compiler/code-generator-impl.h |
@@ -170,15 +170,17 @@ class InstructionOperandConverter { |
// Eager deoptimization exit. |
class DeoptimizationExit : public ZoneObject { |
public: |
- explicit DeoptimizationExit(int deoptimization_id) |
- : deoptimization_id_(deoptimization_id) {} |
+ explicit DeoptimizationExit(int deoptimization_id, SourcePosition pos) |
+ : deoptimization_id_(deoptimization_id), pos_(pos) {} |
int deoptimization_id() const { return deoptimization_id_; } |
Label* label() { return &label_; } |
+ SourcePosition pos() const { return pos_; } |
private: |
int const deoptimization_id_; |
Label label_; |
+ SourcePosition const pos_; |
}; |
// Generator for out-of-line code that is emitted after the main code is done. |