Index: src/compiler/ppc/code-generator-ppc.cc |
diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc |
index 07f684c2a08340688afd314f51c5b00884cba2eb..044608813fe389a12b65b99e99154de22e88dbf7 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -1325,7 +1325,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
MemOperand(sp, -num_slots * kPointerSize)); |
} else { |
__ StorePU(i.InputRegister(0), |
- MemOperand(sp, -num_slots * kPointerSize)); |
+ MemOperand(sp, -num_slots * kPointerSize), r0); |
} |
break; |
} |
@@ -1334,7 +1334,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
if (instr->InputAt(0)->IsDoubleRegister()) { |
__ stfd(i.InputDoubleRegister(0), MemOperand(sp, slot * kPointerSize)); |
} else { |
- __ StoreP(i.InputRegister(0), MemOperand(sp, slot * kPointerSize)); |
+ __ StoreP(i.InputRegister(0), MemOperand(sp, slot * kPointerSize), r0); |
} |
break; |
} |