Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 94ba965393dee9521ce27a8f88742de8a311d513..c415ecda0560bec4584507dbf8c8cfd5f9825e73 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1919,6 +1919,16 @@ |
b(hi, fail); |
} |
+ |
+void MacroAssembler::DebugBreak() { |
+ mov(r0, Operand::Zero()); |
+ mov(r1, |
+ Operand(ExternalReference(Runtime::kHandleDebuggerStatement, isolate()))); |
+ CEntryStub ces(isolate(), 1); |
+ DCHECK(AllowThisStubCall(&ces)); |
+ Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT); |
+} |
+ |
void MacroAssembler::MaybeDropFrames() { |
// Check whether we need to drop frames to restart a function on the stack. |
ExternalReference restart_fp = |