Index: src/mips64/builtins-mips64.cc |
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc |
index 9c817ab563af91a951c02026178ba839a907bfa6..f1c2fe5ffc1fd5c0e01c4e89c7e7442c5dda82df 100644 |
--- a/src/mips64/builtins-mips64.cc |
+++ b/src/mips64/builtins-mips64.cc |
@@ -680,8 +680,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ AssertGeneratorObject(a1); |
// Store input value into generator object. |
- __ sd(v0, FieldMemOperand(a1, JSGeneratorObject::kInputOffset)); |
- __ RecordWriteField(a1, JSGeneratorObject::kInputOffset, v0, a3, |
+ __ sd(v0, FieldMemOperand(a1, JSGeneratorObject::kInputOrDebugPosOffset)); |
+ __ RecordWriteField(a1, JSGeneratorObject::kInputOrDebugPosOffset, v0, a3, |
kRAHasNotBeenSaved, kDontSaveFPRegs); |
// Store resume mode into generator object. |