Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index ff246920e32a68258d23443eebf79d02439ad2d5..605cc6c6d243237ed060d81bea276f804e2227b8 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -1828,7 +1828,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
// When we arrive here, r0 holds the generator object. |
__ RecordGeneratorContinuation(); |
__ ldr(r1, FieldMemOperand(r0, JSGeneratorObject::kResumeModeOffset)); |
- __ ldr(r0, FieldMemOperand(r0, JSGeneratorObject::kInputOffset)); |
+ __ ldr(r0, FieldMemOperand(r0, JSGeneratorObject::kInputOrDebugPosOffset)); |
STATIC_ASSERT(JSGeneratorObject::kNext < JSGeneratorObject::kReturn); |
STATIC_ASSERT(JSGeneratorObject::kThrow > JSGeneratorObject::kReturn); |
__ cmp(r1, Operand(Smi::FromInt(JSGeneratorObject::kReturn))); |