Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index f096c2113cf91ebd7027e32945206948726557fa..2c8d799c2e68ad55900a344a540bf646a21a2552 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1324,8 +1324,14 @@ class DebuggerStatement V8_FINAL : public Statement { |
public: |
DECLARE_NODE_TYPE(DebuggerStatement) |
+ BailoutId DebugBreakId() const { return debugger_id_; } |
+ |
protected: |
- explicit DebuggerStatement(Zone* zone, int pos): Statement(zone, pos) {} |
+ explicit DebuggerStatement(Zone* zone, int pos) |
+ : Statement(zone, pos), debugger_id_(GetNextId(zone)) {} |
+ |
+ private: |
+ const BailoutId debugger_id_; |
}; |