Index: runtime/vm/assembler_arm.cc |
diff --git a/runtime/vm/assembler_arm.cc b/runtime/vm/assembler_arm.cc |
index 3f50ba809acd72a85b81c9b992e7a7cda6636391..e7c2150a2e49a36f400e11a54187256f4189db3b 100644 |
--- a/runtime/vm/assembler_arm.cc |
+++ b/runtime/vm/assembler_arm.cc |
@@ -1559,7 +1559,7 @@ void Assembler::LoadPoolPointer() { |
void Assembler::LoadIsolate(Register rd) { |
- LoadImmediate(rd, reinterpret_cast<uword>(Isolate::Current())); |
+ ldr(rd, Address(THR, Thread::isolate_offset())); |
} |