Index: test/cctest/test-ast.cc |
diff --git a/test/cctest/test-ast.cc b/test/cctest/test-ast.cc |
index 49e44eb7b9e6a74d7d76348676fc44fb07c953a6..365652ef1d82ef26ee2bffc603144cdf8f29fc36 100644 |
--- a/test/cctest/test-ast.cc |
+++ b/test/cctest/test-ast.cc |
@@ -38,7 +38,8 @@ TEST(List) { |
List<AstNode*>* list = new List<AstNode*>(0); |
CHECK_EQ(0, list->length()); |
- Zone zone; |
+ v8::base::AccountingAllocator allocator; |
+ Zone zone(&allocator); |
AstValueFactory value_factory(&zone, 0); |
AstNodeFactory factory(&value_factory); |
AstNode* node = factory.NewEmptyStatement(RelocInfo::kNoPosition); |