Index: runtime/vm/globals.h |
diff --git a/runtime/vm/globals.h b/runtime/vm/globals.h |
index 076be03edc0459bf3486fe59d82e225745b938c2..4ffb4a478811792ced6a7245d2957de53a8afc09 100644 |
--- a/runtime/vm/globals.h |
+++ b/runtime/vm/globals.h |
@@ -113,7 +113,7 @@ static const uword kZapUninitializedWord = 0xabababababababab; |
#elif defined(HOST_ARCH_ARM64) |
#define COPY_FP_REGISTER(fp) asm volatile ("mov %0, %%x29" : "=r" (fp) ); |
#elif defined(HOST_ARCH_MIPS) |
-#define COPY_FP_REGISTER(fp) asm volatile ("move %0, $r30" : "=r" (fp) ); |
+#define COPY_FP_REGISTER(fp) asm volatile ("move %0, $fp" : "=r" (fp) ); |
#else |
#error Unknown host architecture. |
#endif |