Index: runtime/vm/assembler_mips.cc |
diff --git a/runtime/vm/assembler_mips.cc b/runtime/vm/assembler_mips.cc |
index 2cd7f29d0bebf36702052ebc37d4e283e5135ff0..e4f90827d0b063aa0d29c9a28bf15613a89886d7 100644 |
--- a/runtime/vm/assembler_mips.cc |
+++ b/runtime/vm/assembler_mips.cc |
@@ -456,6 +456,37 @@ void Assembler::SubuDetectOverflow(Register rd, Register rs, Register rt, |
} |
+void Assembler::Branch(const StubEntry& stub_entry) { |
+ const ExternalLabel label(stub_entry.EntryPoint()); |
+ Branch(&label); |
+} |
+ |
+ |
+void Assembler::BranchPatchable(const StubEntry& stub_entry) { |
+ const ExternalLabel label(stub_entry.EntryPoint()); |
+ BranchPatchable(&label); |
+} |
+ |
+ |
+void Assembler::BranchLink(const StubEntry& stub_entry) { |
+ const ExternalLabel label(stub_entry.EntryPoint()); |
+ BranchLink(&label); |
+} |
+ |
+ |
+void Assembler::BranchLink(const StubEntry& stub_entry, |
+ Patchability patchable) { |
+ const ExternalLabel label(stub_entry.EntryPoint()); |
+ BranchLink(&label, patchable); |
+} |
+ |
+ |
+void Assembler::BranchLinkPatchable(const StubEntry& stub_entry) { |
+ const ExternalLabel label(stub_entry.EntryPoint()); |
+ BranchLink(&label, kPatchable); |
+} |
+ |
+ |
void Assembler::LoadObjectHelper(Register rd, |
const Object& object, |
bool is_unique) { |