Home
last modified time | relevance | path

Searched refs:catch_blocks (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/ets_frontend/merge_abc/src/
DassemblyFunctionProto.cpp82 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/
Dir_builder.cpp467 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()
Dir_builder.h138 …tTryCodeBlock(const TryCodeBlock &try_block, const ArenaMap<uint32_t, BasicBlock *> &catch_blocks);
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Doptimize_bytecode_test.cpp215 it->second.catch_blocks.push_back(cat);
/arkcompiler/runtime_core/compiler/tests/
DirBuilder_tests.cpp146 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/
Demitter.cpp207 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/
Dassembly-function.h81 std::vector<CatchBlock> catch_blocks; member
Dassembly-parser.cpp902 curr_func_->catch_blocks.push_back(catch_block); in ParseAsCatchDirective()
Dassembly-emitter.cpp1673 for (auto &catch_block : catch_blocks) { in MakeOrderAndOffsets()
/arkcompiler/runtime_core/assembler/tests/
Dparser_test.cpp2533 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/
Doptimize_bytecode.cpp262 if (panda::bytecodeopt::options.IsSkipMethodsWithEh() && !function.catch_blocks.empty()) { in SkipFunction()
Dcodegen.cpp112 function_->catch_blocks = catch_blocks_; in RunImpl()
/arkcompiler/runtime_core/libpandafile/
Dfile_reader.cpp672 std::vector<CodeItem::CatchBlock> catch_blocks; in CreateMethodItem() local
685catch_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()
Dfile_items.h1340 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/
Ddisassembler.cpp505 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/
DpatchFix.cpp185 for (const auto &ct : func->catch_blocks) { in GenerateFunctionAndClassHash()
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp602 pandaFunc.catch_blocks.push_back(pandaCatchBlock); in ParseFunctionCatchTables()
/arkcompiler/runtime_core/docs/
Dfile_format.md507 | `catch_blocks` | `CatchBlock[]` | Array of `catch` blocks associated with the `try` block. Th…