Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 82f3c218e6bbe206cba946b8f601b282993c04f2..b0fcc1415637f46e64587a61988bbfba11bf19d5 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -4384,10 +4384,6 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
} |
case Yield::kFinal: { |
- VisitForAccumulatorValue(expr->generator_object()); |
- __ Mov(x1, Smi::FromInt(JSGeneratorObject::kGeneratorClosed)); |
- __ Str(x1, FieldMemOperand(result_register(), |
- JSGeneratorObject::kContinuationOffset)); |
// Pop value from top-of-stack slot, box result into result register. |
EmitCreateIteratorResult(true); |
EmitUnwindBeforeReturn(); |