Index: runtime/vm/assembler_arm.cc |
diff --git a/runtime/vm/assembler_arm.cc b/runtime/vm/assembler_arm.cc |
index 71a960831e0aff959f3d0d7829966d4a7599e2c9..b8fc18e8ac65ba3ea667ef78cfc3976dde37025c 100644 |
--- a/runtime/vm/assembler_arm.cc |
+++ b/runtime/vm/assembler_arm.cc |
@@ -1619,6 +1619,16 @@ void Assembler::LoadExternalLabel(Register rd, |
} |
+void Assembler::LoadNativeEntry(Register rd, |
+ const ExternalLabel* label, |
+ Patchability patchable, |
+ Condition cond) { |
+ const int32_t offset = ObjectPool::element_offset( |
+ object_pool_wrapper_.FindNativeEntry(label, patchable)); |
+ LoadWordFromPoolOffset(rd, offset - kHeapObjectTag, cond); |
+} |
+ |
+ |
void Assembler::PushObject(const Object& object) { |
LoadObject(IP, object); |
Push(IP); |