Index: runtime/vm/assembler_arm.cc |
=================================================================== |
--- runtime/vm/assembler_arm.cc (revision 40623) |
+++ runtime/vm/assembler_arm.cc (working copy) |
@@ -1536,6 +1536,11 @@ |
} |
+void Assembler::LoadIsolate(Register rd) { |
+ LoadImmediate(rd, reinterpret_cast<uword>(Isolate::Current())); |
+} |
+ |
+ |
void Assembler::LoadObject(Register rd, const Object& object, Condition cond) { |
// Smis and VM heap objects are never relocated; do not use object pool. |
if (object.IsSmi()) { |