Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 757c672eb8d9a39e8e6d86c520ebf40f5742b8a2..fd6cbaa443b7634b6cb18b617f887b3e6f33d704 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -1868,10 +1868,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(); |