| Index: test/cctest/test-ast.cc
|
| diff --git a/test/cctest/test-ast.cc b/test/cctest/test-ast.cc
|
| index c027e88a525ac84b6e27be4d41ca0339a46b1ebe..99cbb950ca27cb040ab3ff30f7ad3ce03dd040f3 100644
|
| --- a/test/cctest/test-ast.cc
|
| +++ b/test/cctest/test-ast.cc
|
| @@ -30,7 +30,6 @@
|
| #include "src/v8.h"
|
|
|
| #include "src/ast/ast.h"
|
| -#include "src/isolate.h"
|
| #include "src/objects-inl.h"
|
| #include "src/zone/accounting-allocator.h"
|
| #include "test/cctest/cctest.h"
|
| @@ -38,16 +37,12 @@
|
| using namespace v8::internal;
|
|
|
| TEST(List) {
|
| - v8::V8::Initialize();
|
| - Isolate* isolate = CcTest::i_isolate();
|
| -
|
| List<AstNode*>* list = new List<AstNode*>(0);
|
| CHECK_EQ(0, list->length());
|
|
|
| v8::internal::AccountingAllocator allocator;
|
| Zone zone(&allocator, ZONE_NAME);
|
| - AstValueFactory value_factory(&zone, isolate->ast_string_constants(),
|
| - isolate->heap()->HashSeed());
|
| + AstValueFactory value_factory(&zone, 0);
|
| AstNodeFactory factory(&value_factory);
|
| AstNode* node = factory.NewEmptyStatement(kNoSourcePosition);
|
| list->Add(node);
|
|
|