Index: src/mips64/debug-mips64.cc |
diff --git a/src/mips64/debug-mips64.cc b/src/mips64/debug-mips64.cc |
index 402de78a993223be1bced88fb03d9a471a6be437..ae506e1dc95e84311557691b5c317d861e3e9cc0 100644 |
--- a/src/mips64/debug-mips64.cc |
+++ b/src/mips64/debug-mips64.cc |
@@ -166,8 +166,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); |
} |
@@ -179,11 +182,7 @@ void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
// Calling convention for IC keyed store call (from ic-mips64.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); |
} |