Lines Matching refs:try_block

1649 Statement* Parser::RewriteTryStatement(Block* try_block, Block* catch_block,  in RewriteTryStatement()  argument
1662 statement = factory()->NewTryCatchStatement(try_block, catch_info.scope, in RewriteTryStatement()
1666 try_block = factory()->NewBlock(1, false); in RewriteTryStatement()
1667 try_block->statements()->Add(statement, zone()); in RewriteTryStatement()
1674 try_block, catch_info.scope, catch_block, pos); in RewriteTryStatement()
1680 factory()->NewTryFinallyStatement(try_block, finally_block, pos); in RewriteTryStatement()
1720 Block* try_block = factory()->NewBlock(3, false); in ParseAndRewriteAsyncGeneratorFunctionBody() local
1722 try_block->statements()->Add( in ParseAndRewriteAsyncGeneratorFunctionBody()
1725 ParseStatementList(try_block->statements(), Token::RBRACE, ok); in ParseAndRewriteAsyncGeneratorFunctionBody()
1734 try_block->statements()->Add(final_return, zone()); in ParseAndRewriteAsyncGeneratorFunctionBody()
1753 try_block, catch_scope, catch_block, kNoSourcePosition); in ParseAndRewriteAsyncGeneratorFunctionBody()
1755 try_block = factory()->NewBlock(1, false); in ParseAndRewriteAsyncGeneratorFunctionBody()
1756 try_block->statements()->Add(try_catch, zone()); in ParseAndRewriteAsyncGeneratorFunctionBody()
1769 body->Add(factory()->NewTryFinallyStatement(try_block, finally_block, in ParseAndRewriteAsyncGeneratorFunctionBody()
3972 Block* try_block = factory()->NewBlock(1, false); in FinalizeIteratorUse() local
3973 try_block->statements()->Add(try_catch, zone()); in FinalizeIteratorUse()
3976 factory()->NewTryFinallyStatement(try_block, maybe_close, nopos); in FinalizeIteratorUse()
4057 Block* try_block = factory()->NewBlock(1, false); in BuildIteratorCloseForCompletion() local
4058 try_block->statements()->Add(factory()->NewExpressionStatement(call, nopos), in BuildIteratorCloseForCompletion()
4063 factory()->NewTryCatchStatement(try_block, nullptr, catch_block, nopos); in BuildIteratorCloseForCompletion()
4190 Block* try_block = factory()->NewBlock(1, false); in FinalizeForOfStatement() local
4191 try_block->statements()->Add(loop, zone()); in FinalizeForOfStatement()
4194 try_block, final_loop, type); in FinalizeForOfStatement()