| Index: src/mips64/macro-assembler-mips64.cc
|
| diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc
|
| index 480bae10f331611a9d912b3c9d2e0904ffae43aa..1f62b1be0100b6ea26cd88e2b6158840c7c1e54b 100644
|
| --- a/src/mips64/macro-assembler-mips64.cc
|
| +++ b/src/mips64/macro-assembler-mips64.cc
|
| @@ -4050,6 +4050,15 @@ void MacroAssembler::DebugBreak() {
|
| 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 =
|
| + ExternalReference::debug_restart_fp_address(isolate());
|
| + li(a1, Operand(restart_fp));
|
| + ld(a1, MemOperand(a1));
|
| + Jump(isolate()->builtins()->FrameDropperTrampoline(), RelocInfo::CODE_TARGET,
|
| + ne, a1, Operand(zero_reg));
|
| +}
|
|
|
| // ---------------------------------------------------------------------------
|
| // Exception handling.
|
|
|