Revision: 5260
Author: [email protected]
Date: Fri Aug 13 03:19:45 2010
Log: Fix compilation for ARMv4.
Review URL: http://codereview.chromium.org/3161009
http://code.google.com/p/v8/source/detail?r=5260
Modified:
/branches/bleeding_edge/src/platform-linux.cc
=======================================
--- /branches/bleeding_edge/src/platform-linux.cc Mon Aug 2 08:27:25 2010
+++ /branches/bleeding_edge/src/platform-linux.cc Fri Aug 13 03:19:45 2010
@@ -290,9 +290,10 @@
void OS::DebugBreak() {
// TODO(lrn): Introduce processor define for runtime system (!= V8_ARCH_x,
// which is the architecture of generated code).
-#if (defined(__arm__) || defined(__thumb__)) && \
- defined(CAN_USE_ARMV5_INSTRUCTIONS)
+#if (defined(__arm__) || defined(__thumb__))
+# if defined(CAN_USE_ARMV5_INSTRUCTIONS)
asm("bkpt 0");
+# endif
#elif defined(__mips__)
asm("break");
#else
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev