| Index: src/ppc/debug-ppc.cc
|
| diff --git a/src/ppc/debug-ppc.cc b/src/ppc/debug-ppc.cc
|
| index cdb88b20b25ae0a21bf39ac8cafec253c66cdca0..054dd2cc2d7a047ab21cf4751b658726a04b7cdd 100644
|
| --- a/src/ppc/debug-ppc.cc
|
| +++ b/src/ppc/debug-ppc.cc
|
| @@ -138,12 +138,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);
|
| }
|
|
|