Index: test/cctest/test-ast.cc |
diff --git a/test/cctest/test-ast.cc b/test/cctest/test-ast.cc |
index 80c7fdff7802115ca15845640954f1706aa68f06..c72f87ec3dee0fcc4d356a0a45bc1dedb3c1e36b 100644 |
--- a/test/cctest/test-ast.cc |
+++ b/test/cctest/test-ast.cc |
@@ -39,8 +39,10 @@ TEST(List) { |
List<AstNode*>* list = new List<AstNode*>(0); |
CHECK_EQ(0, list->length()); |
- ZoneScope zone_scope(Isolate::Current(), DELETE_ON_EXIT); |
- AstNodeFactory<AstNullVisitor> factory(Isolate::Current()); |
+ Isolate* isolate = Isolate::Current(); |
+ Zone* zone = isolate->runtime_zone(); |
+ ZoneScope zone_scope(zone, DELETE_ON_EXIT); |
+ AstNodeFactory<AstNullVisitor> factory(isolate, zone); |
AstNode* node = factory.NewEmptyStatement(); |
list->Add(node); |
CHECK_EQ(1, list->length()); |