From: erik.corry@gmail.com Date: Fri, 13 Aug 2010 10:19:45 +0000 (+0000) Subject: Fix compilation for ARMv4. X-Git-Tag: upstream/4.7.83~21362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2399aca8be5fdc390e85964af4751c4cbfe8101d;p=platform%2Fupstream%2Fv8.git Fix compilation for ARMv4. Review URL: http://codereview.chromium.org/3161009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5260 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/platform-linux.cc b/src/platform-linux.cc index d3a4498..f7d8609 100644 --- a/src/platform-linux.cc +++ b/src/platform-linux.cc @@ -290,9 +290,10 @@ void OS::Abort() { 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