Index: src/mips/debug-mips.cc |
diff --git a/src/mips/debug-mips.cc b/src/mips/debug-mips.cc |
index 81e69ed1b0eb7ac18ed1973d56edfdc89131d563..eeb6377f6440af9621374ca680d0f9c41b77283e 100644 |
--- a/src/mips/debug-mips.cc |
+++ b/src/mips/debug-mips.cc |
@@ -164,8 +164,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); |
} |
@@ -177,11 +180,7 @@ void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
// Calling convention for IC keyed store call (from ic-mips.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); |
} |