Index: src/x64/debug-x64.cc |
diff --git a/src/x64/debug-x64.cc b/src/x64/debug-x64.cc |
index c8b7c2246af50b64442df5e0f2fa968484ae6672..c8f9456f75638501c74ba0d70b0ab62a25290cd9 100644 |
--- a/src/x64/debug-x64.cc |
+++ b/src/x64/debug-x64.cc |
@@ -164,7 +164,11 @@ void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
// Register state for IC load call (from ic-x64.cc). |
Register receiver = LoadDescriptor::ReceiverRegister(); |
Register name = LoadDescriptor::NameRegister(); |
- Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false); |
+ RegList regs = receiver.bit() | name.bit(); |
+ if (FLAG_vector_ics) { |
+ regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit(); |
+ } |
+ Generate_DebugBreakCallHelper(masm, regs, 0, false); |
} |