Index: runtime/vm/assembler_mips.cc |
diff --git a/runtime/vm/assembler_mips.cc b/runtime/vm/assembler_mips.cc |
index a839a5849a8936892008e2be18108768c3e73bfb..7823faf35a525172bb8c7c2f54aa07d57b6ec802 100644 |
--- a/runtime/vm/assembler_mips.cc |
+++ b/runtime/vm/assembler_mips.cc |
@@ -555,6 +555,15 @@ void Assembler::LoadExternalLabel(Register rd, |
} |
+void Assembler::LoadNativeEntry(Register rd, |
+ const ExternalLabel* label, |
+ Patchability patchable) { |
+ const int32_t offset = ObjectPool::element_offset( |
+ object_pool_wrapper_.FindNativeEntry(label, patchable)); |
+ LoadWordFromPoolOffset(rd, offset - kHeapObjectTag); |
+} |
+ |
+ |
void Assembler::PushObject(const Object& object) { |
ASSERT(!in_delay_slot_); |
LoadObject(TMP, object); |