Index: src/mips/debug-mips.cc |
diff --git a/src/mips/debug-mips.cc b/src/mips/debug-mips.cc |
index 34e333d289312567d963660a3eeb0850b4051c95..1aa62cac463805449383329258f6394689a49e72 100644 |
--- a/src/mips/debug-mips.cc |
+++ b/src/mips/debug-mips.cc |
@@ -247,7 +247,8 @@ void Debug::GenerateConstructCallDebugBreak(MacroAssembler* masm) { |
// Calling convention for construct call (from builtins-mips.cc). |
// -- a0 : number of arguments (not smi) |
// -- a1 : constructor function |
- Generate_DebugBreakCallHelper(masm, a1.bit(), a0.bit()); |
+ // -- a2 : cache cell for call target |
+ Generate_DebugBreakCallHelper(masm, a1.bit() | a2.bit(), a0.bit()); |
} |
@@ -260,6 +261,7 @@ void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { |
void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) { |
+ // Register state for CallFunctionStub (from code-stubs-mips.cc). |
// ----------- S t a t e ------------- |
// -- a1 : function |
// ----------------------------------- |