Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index c49793e4452748e03691ebbc90714a1cc78a2c75..686400a30ecfa612a98aab71e1338e291240e963 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -4040,6 +4040,16 @@ |
or_(dst, dst, scratch); |
} |
+ |
+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 = |