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:
parent
1d5f94c71e
commit
89a43b8f18
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user