* Enters the `finally` block of a generated `try` statement.
()
| 103535 | * Enters the `finally` block of a generated `try` statement. |
| 103536 | */ |
| 103537 | function beginFinallyBlock() { |
| 103538 | ts.Debug.assert(peekBlockKind() === 0 /* CodeBlockKind.Exception */); |
| 103539 | var exception = peekBlock(); |
| 103540 | ts.Debug.assert(exception.state < 2 /* ExceptionBlockState.Finally */); |
| 103541 | var endLabel = exception.endLabel; |
| 103542 | emitBreak(endLabel); |
| 103543 | var finallyLabel = defineLabel(); |
| 103544 | markLabel(finallyLabel); |
| 103545 | exception.state = 2 /* ExceptionBlockState.Finally */; |
| 103546 | exception.finallyLabel = finallyLabel; |
| 103547 | } |
| 103548 | /** |
| 103549 | * Ends the code block for a generated `try` statement. |
| 103550 | */ |
no test coverage detected
searching dependent graphs…