/arkcompiler/ets_frontend/merge_abc/src/ |
D | assemblyFunctionProto.cpp | 82 for (const auto &block : function.catch_blocks) { in Serialize() 142 function.catch_blocks.reserve(protoFunction.catchblocks_size()); in Deserialize() 146 function.catch_blocks.emplace_back(std::move(*catchBlock)); in Deserialize()
|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
D | ir_builder.cpp | 467 ArenaMap<uint32_t, BasicBlock *> catch_blocks(GetGraph()->GetLocalAllocator()->Adapter()); in ConnectTryCatchBlocks() local 476 catch_blocks.emplace(pc, catch_begin); in ConnectTryCatchBlocks() 483 ConnectTryCodeBlock(try_block, catch_blocks); in ConnectTryCatchBlocks() 490 …ctTryCodeBlock(const TryCodeBlock &try_block, const ArenaMap<uint32_t, BasicBlock *> &catch_blocks) in ConnectTryCodeBlock() argument 507 auto catch_begin = catch_blocks.at(catch_block.pc); in ConnectTryCodeBlock()
|
D | ir_builder.h | 138 …tTryCodeBlock(const TryCodeBlock &try_block, const ArenaMap<uint32_t, BasicBlock *> &catch_blocks);
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | optimize_bytecode_test.cpp | 215 it->second.catch_blocks.push_back(cat);
|
/arkcompiler/runtime_core/compiler/tests/ |
D | irBuilder_tests.cpp | 146 auto &catchBlock = func.catch_blocks.emplace_back(); 273 auto &catchBlock1 = func.catch_blocks.emplace_back(); 279 auto &catchBlock2 = func.catch_blocks.emplace_back(); 285 auto &catchBlock3 = func.catch_blocks.emplace_back();
|
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
D | emitter.cpp | 207 func_->catch_blocks.reserve(pg_->CatchList().size()); in GenFunctionCatchTables() 212 auto &pandaCatchBlock = func_->catch_blocks.emplace_back(); in GenFunctionCatchTables() 568 for (const auto &ct : func.catch_blocks) { in DumpAsm()
|
/arkcompiler/runtime_core/assembler/ |
D | assembly-function.h | 81 std::vector<CatchBlock> catch_blocks; member
|
D | assembly-parser.cpp | 902 curr_func_->catch_blocks.push_back(catch_block); in ParseAsCatchDirective()
|
D | assembly-emitter.cpp | 1673 for (auto &catch_block : catch_blocks) { in MakeOrderAndOffsets()
|
/arkcompiler/runtime_core/assembler/tests/ |
D | parser_test.cpp | 2533 ASSERT_EQ(function.catch_blocks.size(), 1); in TEST() 2534 ASSERT_EQ(function.catch_blocks[0].exception_record, "Exception"); in TEST() 2535 ASSERT_EQ(function.catch_blocks[0].try_begin_label, "try_begin"); in TEST() 2536 ASSERT_EQ(function.catch_blocks[0].try_end_label, "try_end"); in TEST() 2537 ASSERT_EQ(function.catch_blocks[0].catch_begin_label, "catch_begin"); in TEST() 2538 ASSERT_EQ(function.catch_blocks[0].catch_end_label, "catch_begin"); in TEST() 2568 ASSERT_EQ(function.catch_blocks.size(), 1); in TEST() 2569 ASSERT_EQ(function.catch_blocks[0].exception_record, "Exception"); in TEST() 2570 ASSERT_EQ(function.catch_blocks[0].try_begin_label, "try_begin"); in TEST() 2571 ASSERT_EQ(function.catch_blocks[0].try_end_label, "try_end"); in TEST() [all …]
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | optimize_bytecode.cpp | 262 if (panda::bytecodeopt::options.IsSkipMethodsWithEh() && !function.catch_blocks.empty()) { in SkipFunction()
|
D | codegen.cpp | 112 function_->catch_blocks = catch_blocks_; in RunImpl()
|
/arkcompiler/runtime_core/libpandafile/ |
D | file_reader.cpp | 672 std::vector<CodeItem::CatchBlock> catch_blocks; in CreateMethodItem() local 685 …catch_blocks.emplace_back(CodeItem::CatchBlock(method_item, catch_type_item, catch_block.GetHandle… in CreateMethodItem() 690 … CodeItem::TryBlock(try_block.GetStartPc(), try_block.GetLength(), std::move(catch_blocks))); in CreateMethodItem()
|
D | file_items.h | 1340 TryBlock(size_t start_pc, size_t length, std::vector<CatchBlock> catch_blocks) in TryBlock() argument 1341 : start_pc_(start_pc), length_(length), catch_blocks_(std::move(catch_blocks)) in TryBlock()
|
/arkcompiler/runtime_core/disassembler/ |
D | disassembler.cpp | 505 method->catch_blocks.push_back(catch_block_pa); in GetExceptions() 1404 if (method.catch_blocks.size() != 0) { in Serialize() 1407 for (const auto &catch_block : method.catch_blocks) { in Serialize()
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | patchFix.cpp | 185 for (const auto &ct : func->catch_blocks) { in GenerateFunctionAndClassHash()
|
/arkcompiler/ets_frontend/ts2panda/ts2abc/ |
D | ts2abc.cpp | 602 pandaFunc.catch_blocks.push_back(pandaCatchBlock); in ParseFunctionCatchTables()
|
/arkcompiler/runtime_core/docs/ |
D | file_format.md | 507 | `catch_blocks` | `CatchBlock[]` | Array of `catch` blocks associated with the `try` block. Th…
|