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