Index: src/x87/builtins-x87.cc |
diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc |
index c990fb1f83f07d6f3058db572ce261f223977e0a..e908b94994c54a3693e0bac2ab752778da0352d6 100644 |
--- a/src/x87/builtins-x87.cc |
+++ b/src/x87/builtins-x87.cc |
@@ -396,8 +396,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ AssertGeneratorObject(ebx); |
// Store input value into generator object. |
- __ mov(FieldOperand(ebx, JSGeneratorObject::kInputOffset), eax); |
- __ RecordWriteField(ebx, JSGeneratorObject::kInputOffset, eax, ecx, |
+ __ mov(FieldOperand(ebx, JSGeneratorObject::kInputOrDebugPosOffset), eax); |
+ __ RecordWriteField(ebx, JSGeneratorObject::kInputOrDebugPosOffset, eax, ecx, |
kDontSaveFPRegs); |
// Store resume mode into generator object. |