Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index 78fbe60a8072fc1e06365c33c8a9d928bfa1dcc8..6984e9b8f49397cd6cd7cd9b04861b314dba0c26 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -693,8 +693,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ AssertGeneratorObject(r1); |
// Store input value into generator object. |
- __ str(r0, FieldMemOperand(r1, JSGeneratorObject::kInputOffset)); |
- __ RecordWriteField(r1, JSGeneratorObject::kInputOffset, r0, r3, |
+ __ str(r0, FieldMemOperand(r1, JSGeneratorObject::kInputOrDebugPosOffset)); |
+ __ RecordWriteField(r1, JSGeneratorObject::kInputOrDebugPosOffset, r0, r3, |
kLRHasNotBeenSaved, kDontSaveFPRegs); |
// Store resume mode into generator object. |