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 |