Index: src/x64/debug-x64.cc |
diff --git a/src/x64/debug-x64.cc b/src/x64/debug-x64.cc |
index c8303b236ecd3bd7d36df386d8b8e81ca87792db..36d5df678e86007d3ed9629b726eead256ed91a1 100644 |
--- a/src/x64/debug-x64.cc |
+++ b/src/x64/debug-x64.cc |
@@ -177,18 +177,6 @@ static void Generate_DebugBreakCallHelper(MacroAssembler* masm, |
} |
-void Debug::GenerateCallICStubDebugBreak(MacroAssembler* masm) { |
- // Register state for CallICStub |
- // ----------- S t a t e ------------- |
- // -- rbx : type feedback vector |
- // -- rdx : type feedback slot (smi) |
- // -- rdi : function |
- // ----------------------------------- |
- Generate_DebugBreakCallHelper(masm, rbx.bit() | rdx.bit() | rdi.bit(), |
- 0, false); |
-} |
- |
- |
void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
// Register state for IC load call (from ic-x64.cc). |
// ----------- S t a t e ------------- |
@@ -242,6 +230,15 @@ void Debug::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { |
} |
+void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) { |
+ // Register state for IC call call (from ic-x64.cc) |
+ // ----------- S t a t e ------------- |
+ // -- rcx: function name |
+ // ----------------------------------- |
+ Generate_DebugBreakCallHelper(masm, rcx.bit(), 0, 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 +257,18 @@ 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: feedback array |
+ // -- rdx: slot in feedback array |
+ // ----------------------------------- |
+ Generate_DebugBreakCallHelper(masm, rbx.bit() | rdx.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 |