/arkcompiler/ets_frontend/merge_abc/src/ |
D | assemblyFunctionProto.h | 31 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…
|
D | assemblyFunctionProto.cpp | 20 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/ |
D | code_data_accessor.h | 74 class CatchBlock { 76 explicit CatchBlock(Span<const uint8_t> data); 78 ~CatchBlock() = default; 80 NO_COPY_SEMANTIC(CatchBlock); 81 NO_MOVE_SEMANTIC(CatchBlock);
|
D | code_data_accessor.cpp | 20 CodeDataAccessor::CatchBlock::CatchBlock(Span<const uint8_t> data) in CatchBlock() function in panda::panda_file::CodeDataAccessor::CatchBlock
|
D | code_data_accessor-inl.h | 28 CatchBlock catch_block(sp); in EnumerateCatchBlocks() 39 EnumerateCatchBlocks([](const CatchBlock & /* unused */) { return true; }); in SkipCatchBlocks()
|
D | file_items.h | 1310 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_;
|
D | file_items.cpp | 719 size_t CodeItem::CatchBlock::CalculateSize() const in CalculateSize() 727 bool CodeItem::CatchBlock::Write(Writer *writer) in Write()
|
D | file_reader.cpp | 672 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/ |
D | assemblyFunction.proto | 27 message CatchBlock { message 43 repeated CatchBlock catchBlocks = 2; 69 repeated CatchBlock catchBlocks = 9;
|
/arkcompiler/runtime_core/disassembler/ |
D | disassembler.h | 93 … 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;
|
D | disassembler.cpp | 484 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/ |
D | assembly-function.h | 41 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;
|
D | assembly-parser.h | 215 … Function::CatchBlock PrepareCatchBlock(bool is_catchall, size_t size, size_t catchall_tokens_num,
|
D | assembly-parser.cpp | 811 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()
|
D | assembly-emitter.cpp | 1670 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/ |
D | method.cpp | 82 … tryBlock.EnumerateCatchBlocks([&](panda_file::CodeDataAccessor::CatchBlock &catchBlock) { in FindCatchBlock()
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | optimize_bytecode_test.cpp | 213 Function::CatchBlock cat;
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | codegen.h | 155 std::vector<pandasm::Function::CatchBlock> catch_blocks_;
|
D | codegen.cpp | 42 auto cb = pandasm::Function::CatchBlock(); in AppendCatchBlock()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | basicblock.h | 433 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/ |
D | ir_builder.cpp | 274 …try_block.EnumerateCatchBlocks([this, try_info](panda_file::CodeDataAccessor::CatchBlock &catch_bl… in CreateTryCatchBoundariesBlocks()
|
/arkcompiler/runtime_core/assembler/tests/ |
D | emitter_test.cpp | 335 … try_block.EnumerateCatchBlocks([&](panda_file::CodeDataAccessor::CatchBlock &catch_block) { in TEST()
|
D | assembler_emitter_test.cpp | 395 … try_block.EnumerateCatchBlocks([&](panda_file::CodeDataAccessor::CatchBlock &catch_block) { in __anon654af7a10a02()
|
/arkcompiler/runtime_core/docs/ |
D | file_format.md | 507 …locks` | `CatchBlock[]` | Array of `catch` blocks associated with the `try` block. The array h… 509 ### CatchBlock subsection
|
/arkcompiler/ets_frontend/ts2panda/ts2abc/ |
D | ts2abc.cpp | 502 static panda::pandasm::Function::CatchBlock ParsecatchBlock(const Json::Value &catch_block) in ParsecatchBlock() 504 panda::pandasm::Function::CatchBlock pandaCatchBlock; in ParsecatchBlock()
|