[arm64] Mark MONO_CONTEXT_GET_CURRENT () as clobbering x16.
[mono.git] / mono / utils / mono-context.h
index 8d991ed07f8416d596bd4df05eca6e355a4f3406..42b190f947c1cebc3b216ad7ff6d3ca61ff7196a 100644 (file)
@@ -455,7 +455,7 @@ typedef struct {
                "stp d30, d31, [x16], #16\n"    \
                :                                                       \
                : "r" (&ctx.regs)                       \
-               : "x30", "memory"                       \
+               : "x16", "x30", "memory"                \
        );                                                              \
        __asm__ __volatile__( \
                "adr %0, L0%=\n" \