Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 0abae3d6271892fc18a4ede5d3e7087740b0ca9b..01b7a08777e7fb7c000336d3bb8a2a4eac1afa45 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -2043,7 +2043,7 @@ void FullCodeGenerator::EmitGeneratorResume( |
// Store input value into generator object. |
__ StoreP(result_register(), |
- FieldMemOperand(r4, JSGeneratorObject::kInputOffset)); |
+ FieldMemOperand(r4, JSGeneratorObject::kInputOffset), r0); |
__ mr(r5, result_register()); |
__ RecordWriteField(r4, JSGeneratorObject::kInputOffset, r5, r6, |
kLRHasBeenSaved, kDontSaveFPRegs); |