Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index 2f5a043eaf0a7ba03c9873250739e7892a06e53f..b2256fa94eb9b24973549f8515aa836d74ac6d47 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -1744,7 +1744,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
// When we arrive here, r2 holds the generator object. |
__ RecordGeneratorContinuation(); |
__ LoadP(r3, FieldMemOperand(r2, JSGeneratorObject::kResumeModeOffset)); |
- __ LoadP(r2, FieldMemOperand(r2, JSGeneratorObject::kInputOffset)); |
+ __ LoadP(r2, FieldMemOperand(r2, JSGeneratorObject::kInputOrDebugPosOffset)); |
STATIC_ASSERT(JSGeneratorObject::kNext < JSGeneratorObject::kReturn); |
STATIC_ASSERT(JSGeneratorObject::kThrow > JSGeneratorObject::kReturn); |
__ CmpSmiLiteral(r3, Smi::FromInt(JSGeneratorObject::kReturn), r0); |