Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index f9e0563467f5f8fbb1668651a2100f5721bf53c8..462aa8c44bc85eee802c51b5d228884a2a5eec53 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -1860,10 +1860,6 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
} |
case Yield::kFinal: { |
- VisitForAccumulatorValue(expr->generator_object()); |
- __ mov(FieldOperand(result_register(), |
- JSGeneratorObject::kContinuationOffset), |
- Immediate(Smi::FromInt(JSGeneratorObject::kGeneratorClosed))); |
// Pop value from top-of-stack slot, box result into result register. |
EmitCreateIteratorResult(true); |
EmitUnwindBeforeReturn(); |