Reviewers: Erik Corry,

Description:
Fix ARM simulator.  Unless building for the actual ARM hardware,
inline assembler in C++ code should be IA32 assembly, not ARM.

[email protected]


Please review this at http://codereview.chromium.org/53011

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 1596)
+++ src/platform-linux.cc       (working copy)
@@ -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
-~----------~----~----~----~------~----~------~--~---

Reply via email to