| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index dad80576bdde36dcd8a22d4740b06960b9f50d50..6417d9f3c5ac4960b811a64ad8cfe8f84330c3d1 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -416,7 +416,9 @@ class Block: public BreakableStatement {
|
| public:
|
| DECLARE_NODE_TYPE(Block)
|
|
|
| - void AddStatement(Statement* statement) { statements_.Add(statement); }
|
| + void AddStatement(Statement* statement, Zone* zone) {
|
| + statements_.Add(statement, zone);
|
| + }
|
|
|
| ZoneList<Statement*>* statements() { return &statements_; }
|
| bool is_initializer_block() const { return is_initializer_block_; }
|
|
|