Index: src/mips/builtins-mips.cc |
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc |
index 2034d4bc52d0d8efb7465579fc3291db1c311c55..623427fcf97265fde4328830d04470cd47cfc180 100644 |
--- a/src/mips/builtins-mips.cc |
+++ b/src/mips/builtins-mips.cc |
@@ -815,8 +815,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ AssertGeneratorObject(a1); |
// Store input value into generator object. |
- __ sw(v0, FieldMemOperand(a1, JSGeneratorObject::kInputOffset)); |
- __ RecordWriteField(a1, JSGeneratorObject::kInputOffset, v0, a3, |
+ __ sw(v0, FieldMemOperand(a1, JSGeneratorObject::kInputOrDebugPosOffset)); |
+ __ RecordWriteField(a1, JSGeneratorObject::kInputOrDebugPosOffset, v0, a3, |
kRAHasNotBeenSaved, kDontSaveFPRegs); |
// Store resume mode into generator object. |