Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(881)

Unified Diff: test/cctest/test-ast.cc

Issue 868883002: Remove the dependency of Zone on Isolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: All platforms Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/test-ast.cc
diff --git a/test/cctest/test-ast.cc b/test/cctest/test-ast.cc
index 096d5c788f9e03735f70461f9965793e794db3b0..227e49355b3f53e69d2940e34128817b586b2596 100644
--- a/test/cctest/test-ast.cc
+++ b/test/cctest/test-ast.cc
@@ -39,9 +39,9 @@ TEST(List) {
CHECK_EQ(0, list->length());
Isolate* isolate = CcTest::i_isolate();
- Zone zone(isolate);
+ Zone zone;
AstValueFactory value_factory(&zone, 0);
- AstNodeFactory factory(&value_factory);
+ AstNodeFactory factory(isolate, &value_factory);
AstNode* node = factory.NewEmptyStatement(RelocInfo::kNoPosition);
list->Add(node);
CHECK_EQ(1, list->length());

Powered by Google App Engine
This is Rietveld 408576698