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 d494ac92c73824e6b2abb4875d59d6733a4112d5..d3cffa777cd926ed1f751acef5541d65e5ffd409 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -1891,10 +1891,6 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
} |
case Yield::kFinal: { |
- VisitForAccumulatorValue(expr->generator_object()); |
- __ Move(FieldOperand(result_register(), |
- JSGeneratorObject::kContinuationOffset), |
- Smi::FromInt(JSGeneratorObject::kGeneratorClosed)); |
// Pop value from top-of-stack slot, box result into result register. |
EmitCreateIteratorResult(true); |
EmitUnwindBeforeReturn(); |