Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index be9364291ed28aab641b32b5530df0ede286c6a7..90f05aefb81355229eecd261df9819545f38f55d 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -671,6 +671,14 @@ |
pop(js_function); |
bind(&done); |
+} |
+ |
+void MacroAssembler::DebugBreak() { |
+ Move(eax, Immediate(0)); |
+ mov(ebx, Immediate(ExternalReference(Runtime::kHandleDebuggerStatement, |
+ isolate()))); |
+ CEntryStub ces(isolate(), 1); |
+ call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT); |
} |
void MacroAssembler::MaybeDropFrames() { |