Index: test/cctest/test-decls.cc |
diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc |
index 47f95d1d9791d5798297b29b68d2f7c6621e7bb8..de27286dac2deeaea5efc90ec606decf94681fd6 100644 |
--- a/test/cctest/test-decls.cc |
+++ b/test/cctest/test-decls.cc |
@@ -228,6 +228,7 @@ v8::Handle<Integer> DeclarationContext::Query(Local<String> key) { |
// about and doesn't handle. |
TEST(Unknown) { |
HandleScope scope(CcTest::isolate()); |
+ v8::V8::Initialize(); |
{ DeclarationContext context; |
context.Check("var x; x", |
@@ -338,6 +339,7 @@ class AbsentPropertyContext: public DeclarationContext { |
TEST(Absent) { |
v8::Isolate* isolate = CcTest::isolate(); |
+ v8::V8::Initialize(); |
HandleScope scope(isolate); |
{ AbsentPropertyContext context; |
@@ -428,6 +430,7 @@ class AppearingPropertyContext: public DeclarationContext { |
TEST(Appearing) { |
+ v8::V8::Initialize(); |
HandleScope scope(CcTest::isolate()); |
{ AppearingPropertyContext context; |
@@ -520,6 +523,7 @@ class ReappearingPropertyContext: public DeclarationContext { |
TEST(Reappearing) { |
+ v8::V8::Initialize(); |
HandleScope scope(CcTest::isolate()); |
{ ReappearingPropertyContext context; |
@@ -612,6 +616,7 @@ class AbsentInPrototypeContext: public DeclarationContext { |
TEST(AbsentInPrototype) { |
i::FLAG_es52_globals = true; |
+ v8::V8::Initialize(); |
HandleScope scope(CcTest::isolate()); |
{ AbsentInPrototypeContext context; |