Index: src/ppc/builtins-ppc.cc |
diff --git a/src/ppc/builtins-ppc.cc b/src/ppc/builtins-ppc.cc |
index de7add2c566560baa84013c071ff0787b8d6356f..926fd8dc1e1901d96cdf873b91689f84b96c0e09 100644 |
--- a/src/ppc/builtins-ppc.cc |
+++ b/src/ppc/builtins-ppc.cc |
@@ -691,8 +691,9 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ AssertGeneratorObject(r4); |
// Store input value into generator object. |
- __ StoreP(r3, FieldMemOperand(r4, JSGeneratorObject::kInputOffset), r0); |
- __ RecordWriteField(r4, JSGeneratorObject::kInputOffset, r3, r6, |
+ __ StoreP(r3, FieldMemOperand(r4, JSGeneratorObject::kInputOrDebugPosOffset), |
+ r0); |
+ __ RecordWriteField(r4, JSGeneratorObject::kInputOrDebugPosOffset, r3, r6, |
kLRHasNotBeenSaved, kDontSaveFPRegs); |
// Store resume mode into generator object. |