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 82304538d4dc0ef8deacac81eb1dfd33e043cbd2..aac4f03fae7318996b5daf3f34812cb1b76cc653 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1913,11 +1913,6 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
} |
case Yield::kFinal: { |
- VisitForAccumulatorValue(expr->generator_object()); |
- __ LoadSmiLiteral(r4, Smi::FromInt(JSGeneratorObject::kGeneratorClosed)); |
- __ StoreP(r4, FieldMemOperand(result_register(), |
- JSGeneratorObject::kContinuationOffset), |
- r0); |
// Pop value from top-of-stack slot, box result into result register. |
EmitCreateIteratorResult(true); |
EmitUnwindBeforeReturn(); |