Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 5905b7cc127e7d5cac4d6a6d296fd36e0c95832b..7443458abf65c9df8e86d1b9fa186768f4ad0521 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -458,8 +458,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ AssertGeneratorObject(rbx); |
// Store input value into generator object. |
- __ movp(FieldOperand(rbx, JSGeneratorObject::kInputOffset), rax); |
- __ RecordWriteField(rbx, JSGeneratorObject::kInputOffset, rax, rcx, |
+ __ movp(FieldOperand(rbx, JSGeneratorObject::kInputOrDebugPosOffset), rax); |
+ __ RecordWriteField(rbx, JSGeneratorObject::kInputOrDebugPosOffset, rax, rcx, |
kDontSaveFPRegs); |
// Store resume mode into generator object. |