Revision: 21285
Author:   [email protected]
Date:     Tue May 13 09:55:26 2014 UTC
Log:      ARM64: Fix native builds

On ARM64, HasListItem() isn't used, so the compiler complains. Use the
preprocessor to remove it from ARM64 builds.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/285463003
http://code.google.com/p/v8/source/detail?r=21285

Modified:
 /branches/bleeding_edge/src/cpu.cc

=======================================
--- /branches/bleeding_edge/src/cpu.cc  Fri May  9 12:51:52 2014 UTC
+++ /branches/bleeding_edge/src/cpu.cc  Tue May 13 09:55:26 2014 UTC
@@ -206,6 +206,7 @@
   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) {
@@ -230,6 +231,8 @@
   }
   return false;
 }
+
+#endif  // V8_HOST_ARCH_ARM || V8_HOST_ARCH_MIPS

 #endif  // V8_OS_LINUX

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to