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

Unified Diff: src/cpu.cc

Issue 285463003: ARM64: Fix native builds (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/cpu.cc
diff --git a/src/cpu.cc b/src/cpu.cc
index 3baae64f6d74b98d0917ae4e1829b4eb64a2c5cb..8d9afd84ae444c1288d7ad3205ea51293932638a 100644
--- a/src/cpu.cc
+++ b/src/cpu.cc
@@ -206,6 +206,7 @@ class CPUInfo V8_FINAL BASE_EMBEDDED {
size_t datalen_;
};
+#if V8_HOST_ARCH_ARM || V8_HOST_ARCH_MIPS
// Checks that a space-separated list of items contains one given 'item'.
static bool HasListItem(const char* list, const char* item) {
@@ -231,6 +232,8 @@ static bool HasListItem(const char* list, const char* item) {
return false;
}
+#endif // V8_HOST_ARCH_ARM || V8_HOST_ARCH_MIPS
+
#endif // V8_OS_LINUX
#endif // V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64
« 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