Index: src/x87/debug-x87.cc |
diff --git a/src/x87/debug-x87.cc b/src/x87/debug-x87.cc |
index 92c23abea22123aa69983a4e986aca66d86537c0..cdbcbad966254ee8625889a53280f10616769b1c 100644 |
--- a/src/x87/debug-x87.cc |
+++ b/src/x87/debug-x87.cc |
@@ -182,7 +182,11 @@ void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
// Register state for IC load call (from ic-x87.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); |
} |