Index: runtime/vm/assembler_arm64.cc |
diff --git a/runtime/vm/assembler_arm64.cc b/runtime/vm/assembler_arm64.cc |
index 68184bc74b825bbd6d26373eda08559d0de881c9..11fbdb251e263751ef9bd6cb8354b5f4978b7df2 100644 |
--- a/runtime/vm/assembler_arm64.cc |
+++ b/runtime/vm/assembler_arm64.cc |
@@ -584,6 +584,30 @@ void Assembler::LoadDImmediate(VRegister vd, double immd) { |
} |
+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::BranchLinkPatchable(const StubEntry& stub_entry) { |
+ const ExternalLabel label(stub_entry.EntryPoint()); |
+ BranchLinkPatchable(&label); |
+} |
+ |
+ |
void Assembler::AddImmediate(Register dest, Register rn, int64_t imm) { |
Operand op; |
if (imm == 0) { |