Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index fa73120e7fea53c5eda92300d8f3a1f432a982e4..7aa04857507b6f79cd0102f173afc9765b7a6e80 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -1566,6 +1566,15 @@ |
} |
+void MacroAssembler::DebugBreak() { |
+ li(r3, Operand::Zero()); |
+ mov(r4, |
+ 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 = |