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

Unified Diff: src/platform-freebsd.cc

Issue 148913008: A64: Fix some compile errors when building for Android. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 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
Index: src/platform-freebsd.cc
diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc
index c771cd3be029aea168a1333a57a5481690354518..78458a78118eb0469e675eeb7c9b35d2efea6501 100644
--- a/src/platform-freebsd.cc
+++ b/src/platform-freebsd.cc
@@ -189,6 +189,8 @@ void OS::Abort() {
void OS::DebugBreak() {
#if (defined(__arm__) || defined(__thumb__))
asm("bkpt 0");
+#elif defined(__aarch64__)
+ asm("brk 0");
#else
asm("int $3");
#endif

Powered by Google App Engine
This is Rietveld 408576698