Fix ARM simulator. Unless building for the actual ARM hardware,

inline assembler in C++ code should be IA32 assembly, not ARM.

TBR=erik.corry@gmail.com

Review URL: http://codereview.chromium.org/53011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1597 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
kmillikin@chromium.org 2009-03-24 13:21:34 +00:00
parent 1d5f94c71e
commit 89a43b8f18

View File

@ -284,7 +284,7 @@ void OS::Abort() {
void OS::DebugBreak() { void OS::DebugBreak() {
#ifdef ARM #if defined(__arm__) || defined(__thumb__)
asm("bkpt 0"); asm("bkpt 0");
#else #else
asm("int $3"); asm("int $3");