Index: src/ia32/debug-ia32.cc |
diff --git a/src/ia32/debug-ia32.cc b/src/ia32/debug-ia32.cc |
index 957a75ad513434b1735dfbabc97c443a2d3f2ace..a2d75d76184fdb796113bb7bcf2e780ef0a5f8ab 100644 |
--- a/src/ia32/debug-ia32.cc |
+++ b/src/ia32/debug-ia32.cc |
@@ -194,8 +194,11 @@ void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
Register receiver = StoreDescriptor::ReceiverRegister(); |
Register name = StoreDescriptor::NameRegister(); |
Register value = StoreDescriptor::ValueRegister(); |
- Generate_DebugBreakCallHelper( |
- masm, receiver.bit() | name.bit() | value.bit(), 0, false); |
+ RegList regs = receiver.bit() | name.bit() | value.bit(); |
+ if (FLAG_vector_stores) { |
+ regs |= VectorStoreICDescriptor::SlotRegister().bit(); |
+ } |
+ Generate_DebugBreakCallHelper(masm, regs, 0, false); |
} |
@@ -207,11 +210,7 @@ void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
// Register state for keyed IC store call (from ic-ia32.cc). |
- Register receiver = StoreDescriptor::ReceiverRegister(); |
- Register name = StoreDescriptor::NameRegister(); |
- Register value = StoreDescriptor::ValueRegister(); |
- Generate_DebugBreakCallHelper( |
- masm, receiver.bit() | name.bit() | value.bit(), 0, false); |
+ GenerateStoreICDebugBreak(masm); |
} |