Lines Matching refs:catch_block
1649 Statement* Parser::RewriteTryStatement(Block* try_block, Block* catch_block, in RewriteTryStatement() argument
1659 if (catch_block != nullptr && finally_block != nullptr) { in RewriteTryStatement()
1663 catch_block, kNoSourcePosition); in RewriteTryStatement()
1668 catch_block = nullptr; // Clear to indicate it's been handled. in RewriteTryStatement()
1671 if (catch_block != nullptr) { in RewriteTryStatement()
1674 try_block, catch_info.scope, catch_block, pos); in RewriteTryStatement()
1749 Block* catch_block = IgnoreCompletion( in ParseAndRewriteAsyncGeneratorFunctionBody() local
1753 try_block, catch_scope, catch_block, kNoSourcePosition); in ParseAndRewriteAsyncGeneratorFunctionBody()
2972 Block* catch_block = IgnoreCompletion( in BuildRejectPromiseOnException() local
2977 inner_block, catch_scope, catch_block, kNoSourcePosition); in BuildRejectPromiseOnException()
3961 Block* catch_block = factory()->NewBlock(2, false); in FinalizeIteratorUse() local
3962 catch_block->statements()->Add(set_completion_throw, zone()); in FinalizeIteratorUse()
3963 catch_block->statements()->Add(rethrow, zone()); in FinalizeIteratorUse()
3966 iterator_use, catch_scope, catch_block, nopos); in FinalizeIteratorUse()
4061 Block* catch_block = factory()->NewBlock(0, false); in BuildIteratorCloseForCompletion() local
4063 factory()->NewTryCatchStatement(try_block, nullptr, catch_block, nopos); in BuildIteratorCloseForCompletion()