Index: src/s390/macro-assembler-s390.cc |
diff --git a/src/s390/macro-assembler-s390.cc b/src/s390/macro-assembler-s390.cc |
index 93a85c4ff6cee5435c4a6b0890b51198d618efbc..fa1dc2c06d6e88b7f83e5f614b1647857605a1cc 100644 |
--- a/src/s390/macro-assembler-s390.cc |
+++ b/src/s390/macro-assembler-s390.cc |
@@ -1462,6 +1462,15 @@ |
bgt(fail); |
} |
+void MacroAssembler::DebugBreak() { |
+ LoadImmP(r2, Operand::Zero()); |
+ mov(r3, |
+ 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 = |