Reviewers: Søren Gjesse, Description: Fix compilation for ARMv4.
Please review this at http://codereview.chromium.org/3161009/show SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/platform-linux.cc Index: src/platform-linux.cc =================================================================== --- src/platform-linux.cc (revision 5238) +++ src/platform-linux.cc (working copy) @@ -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
