Index: src/ast/ast.h |
diff --git a/src/ast/ast.h b/src/ast/ast.h |
index 7983feb0f5a32d1a7e1bd0a49d23a8a4ec39d7f4..4594c02df97b4482cd49e14791d9808cdb6131fc 100644 |
--- a/src/ast/ast.h |
+++ b/src/ast/ast.h |
@@ -1155,26 +1155,10 @@ class TryFinallyStatement final : public TryStatement { |
class DebuggerStatement final : public Statement { |
- public: |
- void set_base_id(int id) { base_id_ = id; } |
- static int num_ids() { return parent_num_ids() + 1; } |
- BailoutId DebugBreakId() const { return BailoutId(local_id(0)); } |
- |
private: |
friend class AstNodeFactory; |
- explicit DebuggerStatement(int pos) |
- : Statement(pos, kDebuggerStatement), |
- base_id_(BailoutId::None().ToInt()) {} |
- |
- static int parent_num_ids() { return 0; } |
- int base_id() const { |
- DCHECK(!BailoutId(base_id_).IsNone()); |
- return base_id_; |
- } |
- int local_id(int n) const { return base_id() + parent_num_ids() + n; } |
- |
- int base_id_; |
+ explicit DebuggerStatement(int pos) : Statement(pos, kDebuggerStatement) {} |
}; |