Index: runtime/vm/assembler_ia32.cc |
diff --git a/runtime/vm/assembler_ia32.cc b/runtime/vm/assembler_ia32.cc |
index d876feb77f784077d02a36cbdabc5abe19c07c57..6e6d0d6d4db7ffff304b1a603239e0da9764f7cd 100644 |
--- a/runtime/vm/assembler_ia32.cc |
+++ b/runtime/vm/assembler_ia32.cc |
@@ -2124,7 +2124,7 @@ void Assembler::Drop(intptr_t stack_elements) { |
void Assembler::LoadIsolate(Register dst) { |
- movl(dst, Immediate(reinterpret_cast<uword>(Isolate::Current()))); |
+ movl(dst, Address(THR, Thread::isolate_offset())); |
} |