Index: test/cctest/test-ast.cc |
diff --git a/test/cctest/test-ast.cc b/test/cctest/test-ast.cc |
index 24819dfcd48381cddb99073c50ded6de9d2ebf70..31d5eba28d7afff3dc2181f92b0e5a3ec6654bd9 100644 |
--- a/test/cctest/test-ast.cc |
+++ b/test/cctest/test-ast.cc |
@@ -40,8 +40,8 @@ TEST(List) { |
Isolate* isolate = CcTest::i_isolate(); |
Zone zone(isolate); |
- AstNode::IdGen id_gen; |
- AstNodeFactory<AstNullVisitor> factory(&zone, NULL, &id_gen); |
+ AstValueFactory value_factory(&zone, 0); |
+ AstNodeFactory<AstNullVisitor> factory(&value_factory); |
AstNode* node = factory.NewEmptyStatement(RelocInfo::kNoPosition); |
list->Add(node); |
CHECK_EQ(1, list->length()); |