Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index 2011948dbb96279ddf4ab37cfe426390a52e6aec..9ee27cd8f55113c6ffdeaf925f78faa825ab0475 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -2888,6 +2888,15 @@ |
} |
} |
+ |
+void MacroAssembler::DebugBreak() { |
+ Mov(x0, 0); |
+ Mov(x1, 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 = |