| Index: src/mips/debug-mips.cc
|
| diff --git a/src/mips/debug-mips.cc b/src/mips/debug-mips.cc
|
| index 2c7c23591a95730963faf99bf72cad65c675c339..daadc82511aa2ac0332eec0d45b6219b16486ee7 100644
|
| --- a/src/mips/debug-mips.cc
|
| +++ b/src/mips/debug-mips.cc
|
| @@ -129,12 +129,15 @@ void DebugCodegen::GenerateReturnDebugBreak(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| -void DebugCodegen::GenerateSlot(MacroAssembler* masm) {
|
| +void DebugCodegen::GenerateSlot(MacroAssembler* masm,
|
| + DebugCodegen::SlotLocation location,
|
| + int call_argc) {
|
| // Generate enough nop's to make space for a call instruction. Avoid emitting
|
| // the trampoline pool in the debug break slot code.
|
| Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm);
|
| Label check_codesize;
|
| __ bind(&check_codesize);
|
| + RecordRelocInfo(masm, location, call_argc);
|
| for (int i = 0; i < Assembler::kDebugBreakSlotInstructions; i++) {
|
| __ nop(MacroAssembler::DEBUG_BREAK_NOP);
|
| }
|
|
|