Commit 6245d34b authored by dcarney@chromium.org's avatar dcarney@chromium.org

build fix for 16957

TBR=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/24726002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16958 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7bad4ba6
...@@ -228,6 +228,7 @@ v8::Handle<Integer> DeclarationContext::Query(Local<String> key) { ...@@ -228,6 +228,7 @@ v8::Handle<Integer> DeclarationContext::Query(Local<String> key) {
// about and doesn't handle. // about and doesn't handle.
TEST(Unknown) { TEST(Unknown) {
HandleScope scope(CcTest::isolate()); HandleScope scope(CcTest::isolate());
v8::V8::Initialize();
{ DeclarationContext context; { DeclarationContext context;
context.Check("var x; x", context.Check("var x; x",
...@@ -338,6 +339,7 @@ class AbsentPropertyContext: public DeclarationContext { ...@@ -338,6 +339,7 @@ class AbsentPropertyContext: public DeclarationContext {
TEST(Absent) { TEST(Absent) {
v8::Isolate* isolate = CcTest::isolate(); v8::Isolate* isolate = CcTest::isolate();
v8::V8::Initialize();
HandleScope scope(isolate); HandleScope scope(isolate);
{ AbsentPropertyContext context; { AbsentPropertyContext context;
...@@ -428,6 +430,7 @@ class AppearingPropertyContext: public DeclarationContext { ...@@ -428,6 +430,7 @@ class AppearingPropertyContext: public DeclarationContext {
TEST(Appearing) { TEST(Appearing) {
v8::V8::Initialize();
HandleScope scope(CcTest::isolate()); HandleScope scope(CcTest::isolate());
{ AppearingPropertyContext context; { AppearingPropertyContext context;
...@@ -520,6 +523,7 @@ class ReappearingPropertyContext: public DeclarationContext { ...@@ -520,6 +523,7 @@ class ReappearingPropertyContext: public DeclarationContext {
TEST(Reappearing) { TEST(Reappearing) {
v8::V8::Initialize();
HandleScope scope(CcTest::isolate()); HandleScope scope(CcTest::isolate());
{ ReappearingPropertyContext context; { ReappearingPropertyContext context;
...@@ -612,6 +616,7 @@ class AbsentInPrototypeContext: public DeclarationContext { ...@@ -612,6 +616,7 @@ class AbsentInPrototypeContext: public DeclarationContext {
TEST(AbsentInPrototype) { TEST(AbsentInPrototype) {
i::FLAG_es52_globals = true; i::FLAG_es52_globals = true;
v8::V8::Initialize();
HandleScope scope(CcTest::isolate()); HandleScope scope(CcTest::isolate());
{ AbsentInPrototypeContext context; { AbsentInPrototypeContext context;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment