Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index e1ed68b23e7dbee7adacb76ea17591dd155d318f..00405aeb8e0eb25493d037a93a1e9c5547701de9 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -384,8 +384,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. |