summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/test-ast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/test-ast.cc')
-rw-r--r--deps/v8/test/cctest/test-ast.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/test/cctest/test-ast.cc b/deps/v8/test/cctest/test-ast.cc
index 9c292bcfc..d1e537d9d 100644
--- a/deps/v8/test/cctest/test-ast.cc
+++ b/deps/v8/test/cctest/test-ast.cc
@@ -35,10 +35,11 @@
using namespace v8::internal;
TEST(List) {
+ v8::internal::V8::Initialize(NULL);
List<AstNode*>* list = new List<AstNode*>(0);
CHECK_EQ(0, list->length());
- ZoneScope zone_scope(DELETE_ON_EXIT);
+ ZoneScope zone_scope(Isolate::Current(), DELETE_ON_EXIT);
AstNode* node = new EmptyStatement();
list->Add(node);
CHECK_EQ(1, list->length());