Index: test/cctest/test-macro-assembler-mips64.cc |
diff --git a/test/cctest/test-macro-assembler-mips64.cc b/test/cctest/test-macro-assembler-mips64.cc |
index c24262ed557cdb93bba18a95a4b7214fdf89a54f..315121f373c906a8e7801f0c6df856e2b9650de4 100644 |
--- a/test/cctest/test-macro-assembler-mips64.cc |
+++ b/test/cctest/test-macro-assembler-mips64.cc |
@@ -66,7 +66,7 @@ static bool all_zeroes(const byte* beg, const byte* end) { |
TEST(CopyBytes) { |
CcTest::InitializeVM(); |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
HandleScope handles(isolate); |
const int data_size = 1 * KB; |
@@ -140,7 +140,7 @@ TEST(CopyBytes) { |
TEST(LoadConstants) { |
CcTest::InitializeVM(); |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
HandleScope handles(isolate); |
int64_t refConstants[64]; |
@@ -182,7 +182,7 @@ TEST(LoadConstants) { |
TEST(LoadAddress) { |
CcTest::InitializeVM(); |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
HandleScope handles(isolate); |
MacroAssembler assembler(isolate, NULL, 0); |