Index: src/arm/debug-arm.cc |
diff --git a/src/arm/debug-arm.cc b/src/arm/debug-arm.cc |
index e1af27de02f8bcc1819911487118685b90185064..10bd43564ae03fb4e299d89be85ef8540021587b 100644 |
--- a/src/arm/debug-arm.cc |
+++ b/src/arm/debug-arm.cc |
@@ -155,8 +155,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); |
+ RegList regs = receiver.bit() | name.bit() | value.bit(); |
+ if (FLAG_vector_stores) { |
+ regs |= VectorStoreICDescriptor::SlotRegister().bit(); |
+ } |
+ Generate_DebugBreakCallHelper(masm, regs, 0); |
} |
@@ -168,11 +171,7 @@ void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
// Calling convention for IC keyed store call (from ic-arm.cc). |
- Register receiver = StoreDescriptor::ReceiverRegister(); |
- Register name = StoreDescriptor::NameRegister(); |
- Register value = StoreDescriptor::ValueRegister(); |
- Generate_DebugBreakCallHelper( |
- masm, receiver.bit() | name.bit() | value.bit(), 0); |
+ GenerateStoreICDebugBreak(masm); |
} |