Index: src/base/cpu.cc |
diff --git a/src/base/cpu.cc b/src/base/cpu.cc |
index e96a71bc3147f877d7251340b8bb3bb70d063101..d81460a0e14879be39c49373f095c0e9843cc3f5 100644 |
--- a/src/base/cpu.cc |
+++ b/src/base/cpu.cc |
@@ -56,7 +56,8 @@ static V8_INLINE void __cpuid(int cpu_info[4], int info_type) { |
#endif // !V8_LIBC_MSVCRT |
-#elif V8_HOST_ARCH_ARM || V8_HOST_ARCH_ARM64 || V8_HOST_ARCH_MIPS |
+#elif V8_HOST_ARCH_ARM || V8_HOST_ARCH_ARM64 \ |
+ || V8_HOST_ARCH_MIPS || V8_HOST_ARCH_MIPS64 |
#if V8_OS_LINUX |
@@ -206,7 +207,7 @@ class CPUInfo V8_FINAL { |
size_t datalen_; |
}; |
-#if V8_HOST_ARCH_ARM || V8_HOST_ARCH_MIPS |
+#if V8_HOST_ARCH_ARM || V8_HOST_ARCH_MIPS || V8_HOST_ARCH_MIPS64 |
// Checks that a space-separated list of items contains one given 'item'. |
static bool HasListItem(const char* list, const char* item) { |
@@ -232,7 +233,7 @@ static bool HasListItem(const char* list, const char* item) { |
return false; |
} |
-#endif // V8_HOST_ARCH_ARM || V8_HOST_ARCH_MIPS |
+#endif // V8_HOST_ARCH_ARM || V8_HOST_ARCH_MIPS || V8_HOST_ARCH_MIPS64 |
#endif // V8_OS_LINUX |
@@ -454,8 +455,7 @@ CPU::CPU() : stepping_(0), |
#endif // V8_OS_LINUX |
-#elif V8_HOST_ARCH_MIPS |
- |
+#elif V8_HOST_ARCH_MIPS || V8_HOST_ARCH_MIPS64 |
danno
2014/07/08 09:01:19
Please add the deleted line in again below.
dusmil
2014/07/08 11:03:41
Done.
|
// Simple detection of FPU at runtime for Linux. |
// It is based on /proc/cpuinfo, which reveals hardware configuration |
// to user-space applications. According to MIPS (early 2010), no similar |