Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index cb9fb6f5596e49fea53fa1fe102b29b4bda2adc2..0be9948f95b179a54985c73c0623624c07613c58 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1007,8 +1007,9 @@ class WithStatement final : public Statement { |
void set_statement(Statement* s) { statement_ = s; } |
void set_base_id(int id) { base_id_ = id; } |
- static int num_ids() { return parent_num_ids() + 1; } |
- BailoutId EntryId() const { return BailoutId(local_id(0)); } |
+ static int num_ids() { return parent_num_ids() + 2; } |
+ BailoutId ToObjectId() const { return BailoutId(local_id(0)); } |
+ BailoutId EntryId() const { return BailoutId(local_id(1)); } |
protected: |
WithStatement(Zone* zone, Scope* scope, Expression* expression, |