Index: test/cctest/test-disasm-mips.cc |
diff --git a/test/cctest/test-disasm-mips.cc b/test/cctest/test-disasm-mips.cc |
index 0e79a580f200ac4dea2617b0a86a11e6787a936a..725b3a567461338d2c3af4cbaf37eee1b643eba7 100644 |
--- a/test/cctest/test-disasm-mips.cc |
+++ b/test/cctest/test-disasm-mips.cc |
@@ -65,7 +65,7 @@ bool DisassembleAndCompare(byte* pc, const char* compare_string) { |
// in the rest of the macros. |
#define SET_UP() \ |
CcTest::InitializeVM(); \ |
- Isolate* isolate = Isolate::Current(); \ |
+ Isolate* isolate = CcTest::i_isolate(); \ |
HandleScope scope(isolate); \ |
byte *buffer = reinterpret_cast<byte*>(malloc(4*1024)); \ |
Assembler assm(isolate, buffer, 4*1024); \ |