Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 0482a224e7a8c3c0007fbb22a4ba69a67a91bab9..83756f6d9ed046515e06b23a1c45201241def9ef 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -1824,7 +1824,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
// When we arrive here, v0 holds the generator object. |
__ RecordGeneratorContinuation(); |
__ ld(a1, FieldMemOperand(v0, JSGeneratorObject::kResumeModeOffset)); |
- __ ld(v0, FieldMemOperand(v0, JSGeneratorObject::kInputOffset)); |
+ __ ld(v0, FieldMemOperand(v0, JSGeneratorObject::kInputOrDebugPosOffset)); |
__ Branch(&resume, eq, a1, Operand(Smi::FromInt(JSGeneratorObject::kNext))); |
__ Push(result_register()); |
__ Branch(&exception, eq, a1, |