Index: runtime/vm/assembler_arm64.h |
diff --git a/runtime/vm/assembler_arm64.h b/runtime/vm/assembler_arm64.h |
index 701e7c44adb54bfc198aff0d2c8c70b06b80bec1..936e1050f01c673ab2997126fed87f1c3ce79444 100644 |
--- a/runtime/vm/assembler_arm64.h |
+++ b/runtime/vm/assembler_arm64.h |
@@ -21,6 +21,7 @@ namespace dart { |
// Forward declarations. |
class RuntimeEntry; |
+class StubEntry; |
class Immediate : public ValueObject { |
public: |
@@ -1203,6 +1204,8 @@ class Assembler : public ValueObject { |
br(TMP); |
} |
+ void Branch(const StubEntry& stub_entry); |
+ |
// Fixed length branch to label. |
void BranchPatchable(const ExternalLabel* label) { |
// TODO(zra): Use LoadExternalLabelFixed if possible. |
@@ -1210,11 +1213,15 @@ class Assembler : public ValueObject { |
br(TMP); |
} |
+ void BranchPatchable(const StubEntry& stub_entry); |
+ |
void BranchLink(const ExternalLabel* label) { |
LoadExternalLabel(TMP, label); |
blr(TMP); |
} |
+ void BranchLink(const StubEntry& stub_entry); |
+ |
// BranchLinkPatchable must be a fixed-length sequence so we can patch it |
// with the debugger. |
void BranchLinkPatchable(const ExternalLabel* label) { |
@@ -1222,6 +1229,8 @@ class Assembler : public ValueObject { |
blr(TMP); |
} |
+ void BranchLinkPatchable(const StubEntry& stub_entry); |
+ |
// Macros accepting a pp Register argument may attempt to load values from |
// the object pool when possible. Unless you are sure that the untagged object |
// pool pointer is in another register, or that it is not available at all, |