Index: src/ppc/debug-ppc.cc |
diff --git a/src/ppc/debug-ppc.cc b/src/ppc/debug-ppc.cc |
index a438a04e2e1b3ff565c0be40e8e0635adbffe53c..ff7dffd9de1df0f57b8d34cc1652c1cba64ad0b5 100644 |
--- a/src/ppc/debug-ppc.cc |
+++ b/src/ppc/debug-ppc.cc |
@@ -172,8 +172,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); |
} |
@@ -185,11 +188,7 @@ void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
// Calling convention for IC keyed store call (from ic-ppc.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); |
} |