Index: src/x64/debug-x64.cc |
diff --git a/src/x64/debug-x64.cc b/src/x64/debug-x64.cc |
index 8ae03deae3599cd5af2676f9891f5d4079bb358d..cdb80e0febc6dbde5041920480b4b484e70c6763 100644 |
--- a/src/x64/debug-x64.cc |
+++ b/src/x64/debug-x64.cc |
@@ -261,9 +261,11 @@ 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 |
+ // -- rbx: feedback array |
+ // -- rdx: slot in feedback array |
// ----------------------------------- |
- Generate_DebugBreakCallHelper(masm, rbx.bit() | rdi.bit(), 0, false); |
+ Generate_DebugBreakCallHelper(masm, rbx.bit() | rdx.bit() | rdi.bit(), |
+ 0, false); |
} |
@@ -285,10 +287,12 @@ void Debug::GenerateCallConstructStubRecordDebugBreak(MacroAssembler* masm) { |
// above IC call. |
// ----------- S t a t e ------------- |
// -- rax: number of arguments |
- // -- rbx: cache cell for call target |
+ // -- rbx: feedback array |
+ // -- rdx: feedback slot (smi) |
// ----------------------------------- |
// The number of arguments in rax is not smi encoded. |
- Generate_DebugBreakCallHelper(masm, rbx.bit() | rdi.bit(), rax.bit(), false); |
+ Generate_DebugBreakCallHelper(masm, rbx.bit() | rdx.bit() | rdi.bit(), |
+ rax.bit(), false); |
} |