Index: src/arm64/macro-assembler-arm64-inl.h |
diff --git a/src/arm64/macro-assembler-arm64-inl.h b/src/arm64/macro-assembler-arm64-inl.h |
index 60418ad8394dcd78667d80e91eceffb0a1703c67..f19d6909f8e9c668a776d7bae014a26b1c99fa06 100644 |
--- a/src/arm64/macro-assembler-arm64-inl.h |
+++ b/src/arm64/macro-assembler-arm64-inl.h |
@@ -309,6 +309,22 @@ LS_MACRO_LIST(DEFINE_FUNCTION) |
LSPAIR_MACRO_LIST(DEFINE_FUNCTION) |
#undef DEFINE_FUNCTION |
+#define DECLARE_FUNCTION(FN, OP) \ |
+ void MacroAssembler::FN(const Register& rt, const Register& rn) { \ |
+ DCHECK(allow_macro_instructions_); \ |
+ OP(rt, rn); \ |
+ } |
+LDA_STL_MACRO_LIST(DECLARE_FUNCTION) |
+#undef DECLARE_FUNCTION |
+ |
+#define DECLARE_FUNCTION(FN, OP) \ |
+ void MacroAssembler::FN(const Register& rs, const Register& rt, \ |
+ const Register& rn) { \ |
+ DCHECK(allow_macro_instructions_); \ |
+ OP(rs, rt, rn); \ |
+ } |
+STLX_MACRO_LIST(DECLARE_FUNCTION) |
+#undef DECLARE_FUNCTION |
void MacroAssembler::Asr(const Register& rd, |
const Register& rn, |