| Index: src/x64/debug-x64.cc
|
| diff --git a/src/x64/debug-x64.cc b/src/x64/debug-x64.cc
|
| index 59b5e258093cb8c130ed36726507e63d930a2d47..eec83d9d1efa9765fa04ddea632b399336a6cae2 100644
|
| --- a/src/x64/debug-x64.cc
|
| +++ b/src/x64/debug-x64.cc
|
| @@ -229,19 +229,6 @@ void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| -void Debug::GenerateConstructCallDebugBreak(MacroAssembler* masm) {
|
| - // Register state just before return from JS function (from codegen-x64.cc).
|
| - // rax is the actual number of arguments not encoded as a smi, see comment
|
| - // above IC call.
|
| - // ----------- S t a t e -------------
|
| - // -- rax: number of arguments
|
| - // -- rbx: cache cell for call target
|
| - // -----------------------------------
|
| - // The number of arguments in rax is not smi encoded.
|
| - Generate_DebugBreakCallHelper(masm, rbx.bit() | rdi.bit(), rax.bit(), false);
|
| -}
|
| -
|
| -
|
| void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
|
| // Register state just before return from JS function (from codegen-x64.cc).
|
| // ----------- S t a t e -------------
|
| @@ -260,6 +247,41 @@ void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| +void Debug::GenerateCallFunctionStubRecordDebugBreak(MacroAssembler* masm) {
|
| + // Register state for CallFunctionStub (from code-stubs-x64.cc).
|
| + // ----------- S t a t e -------------
|
| + // -- rdi : function
|
| + // -- rbx: cache cell for call target
|
| + // -----------------------------------
|
| + Generate_DebugBreakCallHelper(masm, rbx.bit() | rdi.bit(), 0, false);
|
| +}
|
| +
|
| +
|
| +void Debug::GenerateCallConstructStubDebugBreak(MacroAssembler* masm) {
|
| + // Register state for CallConstructStub (from code-stubs-x64.cc).
|
| + // rax is the actual number of arguments not encoded as a smi, see comment
|
| + // above IC call.
|
| + // ----------- S t a t e -------------
|
| + // -- rax: number of arguments
|
| + // -----------------------------------
|
| + // The number of arguments in rax is not smi encoded.
|
| + Generate_DebugBreakCallHelper(masm, rdi.bit(), rax.bit(), false);
|
| +}
|
| +
|
| +
|
| +void Debug::GenerateCallConstructStubRecordDebugBreak(MacroAssembler* masm) {
|
| + // Register state for CallConstructStub (from code-stubs-x64.cc).
|
| + // rax is the actual number of arguments not encoded as a smi, see comment
|
| + // above IC call.
|
| + // ----------- S t a t e -------------
|
| + // -- rax: number of arguments
|
| + // -- rbx: cache cell for call target
|
| + // -----------------------------------
|
| + // The number of arguments in rax is not smi encoded.
|
| + Generate_DebugBreakCallHelper(masm, rbx.bit() | rdi.bit(), rax.bit(), false);
|
| +}
|
| +
|
| +
|
| void Debug::GenerateSlot(MacroAssembler* masm) {
|
| // Generate enough nop's to make space for a call instruction.
|
| Label check_codesize;
|
|
|