Home
last modified time | relevance | path

Searched refs:CatchBlock (Results 1 – 25 of 26) sorted by relevance

12

/arkcompiler/ets_frontend/merge_abc/src/
DassemblyFunctionProto.h31 class CatchBlock {
33 …static void Serialize(const panda::pandasm::Function::CatchBlock &block, protoPanda::CatchBlock &p…
34 …static void Deserialize(const protoPanda::CatchBlock &protoBlock, panda::pandasm::Function::CatchB…
DassemblyFunctionProto.cpp20 void CatchBlock::Serialize(const panda::pandasm::Function::CatchBlock &block, protoPanda::CatchBloc… in Serialize()
30 void CatchBlock::Deserialize(const protoPanda::CatchBlock &protoBlock, panda::pandasm::Function::Ca… in Deserialize()
84 CatchBlock::Serialize(block, *protoBlock); in Serialize()
144 auto *catchBlock = allocator->New<panda::pandasm::Function::CatchBlock>(); in Deserialize()
145 CatchBlock::Deserialize(protoCatchBlock, *catchBlock); in Deserialize()
/arkcompiler/runtime_core/libpandafile/
Dcode_data_accessor.h74 class CatchBlock {
76 explicit CatchBlock(Span<const uint8_t> data);
78 ~CatchBlock() = default;
80 NO_COPY_SEMANTIC(CatchBlock);
81 NO_MOVE_SEMANTIC(CatchBlock);
Dcode_data_accessor.cpp20 CodeDataAccessor::CatchBlock::CatchBlock(Span<const uint8_t> data) in CatchBlock() function in panda::panda_file::CodeDataAccessor::CatchBlock
Dcode_data_accessor-inl.h28 CatchBlock catch_block(sp); in EnumerateCatchBlocks()
39 EnumerateCatchBlocks([](const CatchBlock & /* unused */) { return true; }); in SkipCatchBlocks()
Dfile_items.h1310 class CatchBlock : public BaseItem {
1312 CatchBlock(MethodItem *method, BaseClassItem *type, size_t handler_pc, size_t code_size = 0)
1317 ~CatchBlock() override = default;
1319 DEFAULT_MOVE_SEMANTIC(CatchBlock);
1320 DEFAULT_COPY_SEMANTIC(CatchBlock);
1340 TryBlock(size_t start_pc, size_t length, std::vector<CatchBlock> catch_blocks) in TryBlock()
1366 std::vector<CatchBlock> catch_blocks_;
Dfile_items.cpp719 size_t CodeItem::CatchBlock::CalculateSize() const in CalculateSize()
727 bool CodeItem::CatchBlock::Write(Writer *writer) in Write()
Dfile_reader.cpp672 std::vector<CodeItem::CatchBlock> catch_blocks; in CreateMethodItem()
673 try_block.EnumerateCatchBlocks([&](CodeDataAccessor::CatchBlock &catch_block) { in CreateMethodItem()
685 …catch_blocks.emplace_back(CodeItem::CatchBlock(method_item, catch_type_item, catch_block.GetHandle… in CreateMethodItem()
/arkcompiler/ets_frontend/merge_abc/protos/
DassemblyFunction.proto27 message CatchBlock { message
43 repeated CatchBlock catchBlocks = 2;
69 repeated CatchBlock catchBlocks = 9;
/arkcompiler/runtime_core/disassembler/
Ddisassembler.h93 … pandasm::Function::CatchBlock *catch_block_pa, LabelTable *label_table, size_t try_idx) const;
95 const panda_file::CodeDataAccessor::CatchBlock &catch_block,
96 … pandasm::Function::CatchBlock *catch_block_pa, LabelTable *label_table, size_t try_idx,
128 void Serialize(const pandasm::Function::CatchBlock &catch_block, std::ostream &os) const;
Ddisassembler.cpp484 pandasm::Function::CatchBlock catch_block_pa {}; in GetExceptions()
489 try_block.EnumerateCatchBlocks([&](panda_file::CodeDataAccessor::CatchBlock &catch_block) { in GetExceptions()
534 … pandasm::Function::CatchBlock *catch_block_pa, LabelTable *label_table, in LocateTryBlock()
586 const panda_file::CodeDataAccessor::CatchBlock &catch_block, in LocateCatchBlock()
587 … pandasm::Function::CatchBlock *catch_block_pa, LabelTable *label_table, in LocateCatchBlock()
1419 void Disassembler::Serialize(const pandasm::Function::CatchBlock &catch_block, std::ostream &os) co… in Serialize()
/arkcompiler/runtime_core/assembler/
Dassembly-function.h41 struct CatchBlock { struct
52 std::unordered_map<std::string, std::vector<const CatchBlock *>> try_catch_map;
55 std::unordered_map<std::string, std::vector<const CatchBlock *>> &map, in TryCatchInfo()
81 std::vector<CatchBlock> catch_blocks;
Dassembly-parser.h215 … Function::CatchBlock PrepareCatchBlock(bool is_catchall, size_t size, size_t catchall_tokens_num,
Dassembly-parser.cpp811 Function::CatchBlock Parser::PrepareCatchBlock(bool is_catchall, size_t size, size_t catchall_token… in PrepareCatchBlock()
819 Function::CatchBlock catch_block; in PrepareCatchBlock()
898 Function::CatchBlock catch_block = in ParseAsCatchDirective()
Dassembly-emitter.cpp1670 std::unordered_map<std::string, std::vector<const CatchBlock *>> try_catch_map; in MakeOrderAndOffsets()
1728 std::vector<CodeItem::CatchBlock> catch_block_items; in BuildTryBlocks()
/arkcompiler/ets_runtime/ecmascript/
Dmethod.cpp82 … tryBlock.EnumerateCatchBlocks([&](panda_file::CodeDataAccessor::CatchBlock &catchBlock) { in FindCatchBlock()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Doptimize_bytecode_test.cpp213 Function::CatchBlock cat;
/arkcompiler/runtime_core/bytecode_optimizer/
Dcodegen.h155 std::vector<pandasm::Function::CatchBlock> catch_blocks_;
Dcodegen.cpp42 auto cb = pandasm::Function::CatchBlock(); in AppendCatchBlock()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dbasicblock.h433 SetField<CatchBlock>(v); in SetCatch()
438 return GetField<CatchBlock>(); in IsCatch()
590 using CatchBlock = CatchEndBlock::NextFlag; variable
591 using TryBeginBlock = CatchBlock::NextFlag;
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dir_builder.cpp274 …try_block.EnumerateCatchBlocks([this, try_info](panda_file::CodeDataAccessor::CatchBlock &catch_bl… in CreateTryCatchBoundariesBlocks()
/arkcompiler/runtime_core/assembler/tests/
Demitter_test.cpp335 … try_block.EnumerateCatchBlocks([&](panda_file::CodeDataAccessor::CatchBlock &catch_block) { in TEST()
Dassembler_emitter_test.cpp395 … try_block.EnumerateCatchBlocks([&](panda_file::CodeDataAccessor::CatchBlock &catch_block) { in __anon654af7a10a02()
/arkcompiler/runtime_core/docs/
Dfile_format.md507 …locks` | `CatchBlock[]` | Array of `catch` blocks associated with the `try` block. The array h…
509 ### CatchBlock subsection
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp502 static panda::pandasm::Function::CatchBlock ParsecatchBlock(const Json::Value &catch_block) in ParsecatchBlock()
504 panda::pandasm::Function::CatchBlock pandaCatchBlock; in ParsecatchBlock()

12