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

Unified Diff: src/checks.h

Issue 308023007: ARM64: Fix ASM_LOCATION and the like. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Make sure that V8_HOST_ARCH_* is defined. Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/checks.h
diff --git a/src/checks.h b/src/checks.h
index bc599acb1d136c5c91a2f5934d8954199d2b5463..c3153363dd1f4a17cde0d93127b4d16008682178 100644
--- a/src/checks.h
+++ b/src/checks.h
@@ -8,6 +8,7 @@
#include <string.h>
#include "../include/v8stdint.h"
+#include "base/build_config.h"
extern "C" void V8_Fatal(const char* file, int line, const char* format, ...);
@@ -30,7 +31,8 @@ extern "C" void V8_Fatal(const char* file, int line, const char* format, ...);
#endif
// Simulator specific helpers.
-#if defined(USE_SIMULATOR) && defined(V8_TARGET_ARCH_ARM64)
+// We can't use USE_SIMULATOR here because it isn't defined yet.
+#if V8_TARGET_ARCH_ARM64 && !V8_HOST_ARCH_ARM64
// TODO(all): If possible automatically prepend an indicator like
// UNIMPLEMENTED or LOCATION.
#define ASM_UNIMPLEMENTED(message) \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698