Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/libpandafile/
Dcode_data_accessor.h25 class TryBlock {
27 explicit TryBlock(Span<const uint8_t> data);
29 ~TryBlock() = default;
31 NO_COPY_SEMANTIC(TryBlock);
32 NO_MOVE_SEMANTIC(TryBlock);
Dcode_data_accessor-inl.h24 inline void CodeDataAccessor::TryBlock::EnumerateCatchBlocks(const Callback &cb) in EnumerateCatchBlocks()
37 inline void CodeDataAccessor::TryBlock::SkipCatchBlocks() in SkipCatchBlocks()
47 TryBlock try_block(sp); in EnumerateTryBlocks()
58 EnumerateTryBlocks([](const TryBlock & /* unused */) { return true; }); in SkipTryBlocks()
Dcode_data_accessor.cpp29 CodeDataAccessor::TryBlock::TryBlock(Span<const uint8_t> data) : data_(data), size_(0) in TryBlock() function in panda::panda_file::CodeDataAccessor::TryBlock
Dfile_items.h1338 class TryBlock : public BaseItem {
1340 TryBlock(size_t start_pc, size_t length, std::vector<CatchBlock> catch_blocks) in TryBlock() function
1345 ~TryBlock() override = default;
1347 DEFAULT_MOVE_SEMANTIC(TryBlock);
1348 DEFAULT_COPY_SEMANTIC(TryBlock);
1403 void AddTryBlock(const TryBlock &try_block) in AddTryBlock()
1459 std::vector<TryBlock> try_blocks_;
Dfile_items.cpp749 void CodeItem::TryBlock::ComputeLayout() in ComputeLayout()
761 size_t CodeItem::TryBlock::CalculateSizeWithoutCatchBlocks() const in CalculateSizeWithoutCatchBlocks()
767 size_t CodeItem::TryBlock::CalculateSize() const in CalculateSize()
778 bool CodeItem::TryBlock::Write(Writer *writer) in Write()
Dfile_reader.cpp671 code_acc.EnumerateTryBlocks([&](CodeDataAccessor::TryBlock &try_block) { in CreateMethodItem()
690 … CodeItem::TryBlock(try_block.GetStartPc(), try_block.GetLength(), std::move(catch_blocks))); in CreateMethodItem()
/arkcompiler/ets_runtime/ecmascript/
Dmethod.cpp80 cda.EnumerateTryBlocks([&pcOffset, pc](panda_file::CodeDataAccessor::TryBlock &tryBlock) { in FindCatchBlock()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dbasicblock.h463 SetField<TryBlock>(v); in SetTry()
468 return GetField<TryBlock>(); in IsTry()
593 using TryBlock = TryEndBlock::NextFlag; variable
594 using OsrEntry = TryBlock::NextFlag;
/arkcompiler/runtime_core/disassembler/
Ddisassembler.h92 const panda_file::CodeDataAccessor::TryBlock &try_block,
Ddisassembler.cpp483 code_accessor.EnumerateTryBlocks([&](panda_file::CodeDataAccessor::TryBlock &try_block) { in GetExceptions()
533 const panda_file::CodeDataAccessor::TryBlock &try_block, in LocateTryBlock()
/arkcompiler/runtime_core/assembler/
Dassembly-function.h189 std::vector<panda_file::CodeItem::TryBlock> BuildTryBlocks(
Dassembly-emitter.cpp1709 std::vector<CodeItem::TryBlock> Function::BuildTryBlocks( in BuildTryBlocks()
1713 std::vector<CodeItem::TryBlock> try_blocks; in BuildTryBlocks()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dir_builder.cpp270 cda.EnumerateTryBlocks([this](panda_file::CodeDataAccessor::TryBlock &try_block) { in CreateTryCatchBoundariesBlocks()
/arkcompiler/runtime_core/assembler/tests/
Demitter_test.cpp320 cdacc.EnumerateTryBlocks([&](panda_file::CodeDataAccessor::TryBlock &try_block) { in TEST()
Dassembler_emitter_test.cpp378 cdacc.EnumerateTryBlocks([&](panda_file::CodeDataAccessor::TryBlock &try_block) { in __anon654af7a10a02()
/arkcompiler/runtime_core/docs/
Dfile_format.md494 | `try_blocks` | `TryBlock[]` | Array of try blocks. The array has `tries_size` elements in …
496 ### TryBlock subsection
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_item_container_test.cpp459 code_data_accessor.EnumerateTryBlocks([](const CodeDataAccessor::TryBlock &) { in __anon97c8f9170b02() argument
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_circuit_builder.cpp110 panda_file::CodeDataAccessor::TryBlock &tryBlock) { in CollectTryCatchBlockInfo()