Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1769)

Unified Diff: runtime/vm/globals.h

Issue 1298783002: Fix for arm and arm64 builds (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/assembler_arm64_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/globals.h
diff --git a/runtime/vm/globals.h b/runtime/vm/globals.h
index 4ffb4a478811792ced6a7245d2957de53a8afc09..dc7932ed2c157f7128d6f5deb6695595fb0dea16 100644
--- a/runtime/vm/globals.h
+++ b/runtime/vm/globals.h
@@ -109,9 +109,9 @@ static const uword kZapUninitializedWord = 0xabababababababab;
#elif defined(HOST_ARCH_X64)
#define COPY_FP_REGISTER(fp) asm volatile ("movq %%rbp, %0" : "=r" (fp) );
#elif defined(HOST_ARCH_ARM)
-#define COPY_FP_REGISTER(fp) asm volatile ("mov %0, %%r11" : "=r" (fp) );
+#define COPY_FP_REGISTER(fp) asm volatile ("mov %0, r11" : "=r" (fp) );
#elif defined(HOST_ARCH_ARM64)
-#define COPY_FP_REGISTER(fp) asm volatile ("mov %0, %%x29" : "=r" (fp) );
+#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, $fp" : "=r" (fp) );
#else
« no previous file with comments | « runtime/vm/assembler_arm64_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698