Index: runtime/vm/assembler_arm64.h |
diff --git a/runtime/vm/assembler_arm64.h b/runtime/vm/assembler_arm64.h |
index 34e05376e156f6a84683506754bfc12c838a7ad5..cde10dac4e529ea577cac9b1a6445a1bed009b64 100644 |
--- a/runtime/vm/assembler_arm64.h |
+++ b/runtime/vm/assembler_arm64.h |
@@ -1165,6 +1165,10 @@ class Assembler : public ValueObject { |
void BranchLinkWithEquivalence(const StubEntry& stub_entry, |
const Object& equivalence); |
+ void AddImmediate(Register dest, int64_t imm) { |
+ AddImmediate(dest, dest, imm); |
+ } |
+ |
// 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, |