Author: [email protected]
Date: Tue Mar 24 06:21:34 2009
New Revision: 1597
Modified:
branches/bleeding_edge/src/platform-linux.cc
Log:
Fix ARM simulator. Unless building for the actual ARM hardware,
inline assembler in C++ code should be IA32 assembly, not ARM.
[email protected]
Review URL: http://codereview.chromium.org/53011
Modified: branches/bleeding_edge/src/platform-linux.cc
==============================================================================
--- branches/bleeding_edge/src/platform-linux.cc (original)
+++ branches/bleeding_edge/src/platform-linux.cc Tue Mar 24 06:21:34 2009
@@ -284,7 +284,7 @@
void OS::DebugBreak() {
-#ifdef ARM
+#if defined(__arm__) || defined(__thumb__)
asm("bkpt 0");
#else
asm("int $3");
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---