Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 6c317bea58a3f64cf791479642c518ed8016f3c3..c64498fe9a105d8de59dac6429fb15dcb824f25c 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -1768,7 +1768,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
// When we arrive here, rax holds the generator object. |
__ RecordGeneratorContinuation(); |
__ movp(rbx, FieldOperand(rax, JSGeneratorObject::kResumeModeOffset)); |
- __ movp(rax, FieldOperand(rax, JSGeneratorObject::kInputOffset)); |
+ __ movp(rax, FieldOperand(rax, JSGeneratorObject::kInputOrDebugPosOffset)); |
STATIC_ASSERT(JSGeneratorObject::kNext < JSGeneratorObject::kReturn); |
STATIC_ASSERT(JSGeneratorObject::kThrow > JSGeneratorObject::kReturn); |
__ SmiCompare(rbx, Smi::FromInt(JSGeneratorObject::kReturn)); |