Index: test/cctest/test-disasm-arm.cc |
diff --git a/test/cctest/test-disasm-arm.cc b/test/cctest/test-disasm-arm.cc |
index 2a53d43d417175902d1773d8e7ed1433fbe4fa38..cb1b1c798bfbf4249bb3da8e5ffbbcac3ad53b41 100644 |
--- a/test/cctest/test-disasm-arm.cc |
+++ b/test/cctest/test-disasm-arm.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); \ |