Index: src/mips/debug-mips.cc |
diff --git a/src/mips/debug-mips.cc b/src/mips/debug-mips.cc |
index 26b343c873cf5a1500089bf3661c386bae5574dc..83f5f501726f04b4fe0dd21f9daffed8dfef3be8 100644 |
--- a/src/mips/debug-mips.cc |
+++ b/src/mips/debug-mips.cc |
@@ -152,8 +152,8 @@ static void Generate_DebugBreakCallHelper(MacroAssembler* masm, |
#ifdef DEBUG |
__ RecordComment("// Calling from debug break to runtime - come in - over"); |
#endif |
- __ mov(a0, zero_reg); // No arguments. |
- __ li(a1, Operand(ExternalReference::debug_break(masm->isolate()))); |
+ __ PrepareCEntryArgs(0); // No arguments. |
+ __ PrepareCEntryFunction(ExternalReference::debug_break(masm->isolate())); |
CEntryStub ceb(1); |
__ CallStub(&ceb); |