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