Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 95aa8e4cd47332531da0b7b88957612642343dca..7297fee69835ba961654cdf5ddf178d80a41a2a4 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3885,6 +3885,16 @@ |
push(at); |
} |
+ |
+void MacroAssembler::DebugBreak() { |
+ PrepareCEntryArgs(0); |
+ PrepareCEntryFunction( |
+ 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 = |