Index: test/cctest/test-types.cc |
diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc |
index b5f65954fa5c98e47877095a23c45dc4a4755efc..7244a4f024d40f3e5b6b1a93e9ec38b828832788 100644 |
--- a/test/cctest/test-types.cc |
+++ b/test/cctest/test-types.cc |
@@ -192,7 +192,7 @@ class HandlifiedTypes { |
TEST(Bitset) { |
CcTest::InitializeVM(); |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
HandleScope scope(isolate); |
HandlifiedTypes T(isolate); |
@@ -217,7 +217,7 @@ TEST(Bitset) { |
TEST(Class) { |
CcTest::InitializeVM(); |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
HandleScope scope(isolate); |
HandlifiedTypes T(isolate); |
@@ -231,7 +231,7 @@ TEST(Class) { |
TEST(Constant) { |
CcTest::InitializeVM(); |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
HandleScope scope(isolate); |
HandlifiedTypes T(isolate); |
@@ -252,7 +252,7 @@ TEST(Constant) { |
TEST(Is) { |
CcTest::InitializeVM(); |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
HandleScope scope(isolate); |
HandlifiedTypes T(isolate); |
@@ -332,7 +332,7 @@ TEST(Is) { |
TEST(Maybe) { |
CcTest::InitializeVM(); |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
HandleScope scope(isolate); |
HandlifiedTypes T(isolate); |
@@ -403,7 +403,7 @@ TEST(Maybe) { |
TEST(Union) { |
CcTest::InitializeVM(); |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
HandleScope scope(isolate); |
HandlifiedTypes T(isolate); |
@@ -569,7 +569,7 @@ TEST(Union) { |
TEST(Intersect) { |
CcTest::InitializeVM(); |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
HandleScope scope(isolate); |
HandlifiedTypes T(isolate); |