Index: test/cctest/cctest.cc |
diff --git a/test/cctest/cctest.cc b/test/cctest/cctest.cc |
index f638ed480fb0b4a7e14306e229ed71df7d9e779c..f1737602eafdb1d942421bad66cd2e0c6e2616f6 100644 |
--- a/test/cctest/cctest.cc |
+++ b/test/cctest/cctest.cc |
@@ -69,8 +69,12 @@ static void PrintTestList(CcTest* current) { |
} |
+v8::Isolate* CcTest::default_isolate_; |
+ |
int main(int argc, char* argv[]) { |
v8::internal::FlagList::SetFlagsFromCommandLine(&argc, argv, true); |
+ CcTest::set_default_isolate(v8::Isolate::GetCurrent()); |
+ CHECK(CcTest::default_isolate() != NULL); |
int tests_run = 0; |
bool print_run_count = true; |
for (int i = 1; i < argc; i++) { |