* Flush the final label of the generator function body.
(operationIndex)
| 104006 | * Flush the final label of the generator function body. |
| 104007 | */ |
| 104008 | function flushFinalLabel(operationIndex) { |
| 104009 | if (isFinalLabelReachable(operationIndex)) { |
| 104010 | tryEnterLabel(operationIndex); |
| 104011 | withBlockStack = undefined; |
| 104012 | writeReturn(/*expression*/ undefined, /*operationLocation*/ undefined); |
| 104013 | } |
| 104014 | if (statements && clauses) { |
| 104015 | appendLabel(/*markLabelEnd*/ false); |
| 104016 | } |
| 104017 | updateLabelExpressions(); |
| 104018 | } |
| 104019 | /** |
| 104020 | * Tests whether the final label of the generator function body |
| 104021 | * is reachable by user code. |
no test coverage detected