Searched refs:catches (Results 1 - 8 of 8) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | bytecode_circuit_builder.cpp | 142 byteCodeException.back().catches.emplace_back(catchBlockPc); in CollectTryCatchBlockInfo() 292 if (!graph_[curBlockId]->catches.empty()) { in ComputeDominatorTree() 293 visitConnectedBlocks(graph_[curBlockId]->catches, curBlockId); in ComputeDominatorTree() 409 const auto &catches = it->catches; // catches start pc in BuildCatchBlocks() local 413 if (std::find(catches.cbegin(), catches.cend(), catchStart) != catches.cend()) { in BuildCatchBlocks() 414 bb.catches in BuildCatchBlocks() [all...] |
H A D | bytecode_circuit_builder.h | 40 std::vector<uint8_t*> catches; member 42 ExceptionItem(uint8_t* startPc, uint8_t* endPc, std::vector<uint8_t*> catches) in ExceptionItem() 43 : startPc(startPc), endPc(endPc), catches(catches) {} in ExceptionItem() 161 ChunkVector<BytecodeRegion *> catches; // List of catches blocks member 171 trys(chunk), catches(chunk), loopBacks(chunk), expandedPreds(chunk) in BytecodeRegion() 187 if (catches.size() > 1) { in SortCatches() 188 std::sort(catches.begin(), catches in SortCatches() [all...] |
H A D | frame_states.cpp | 74 for (const auto &succBlock: bb.catches) { in BuildPostOrderList() 130 if (!bb.catches.empty() && !bytecodeInfo.NoThrow()) { in ComputeLiveOut() 131 ASSERT(bb.catches.size() == 1); // 1: one catch in ComputeLiveOut() 132 MergeFromCatchBB(bb.catches.at(0)->id); in ComputeLiveOut() 998 BytecodeRegion* catchBlock = bb.catches.empty() ? nullptr : bb.catches.at(0); in ComputeLoopBack() 1218 ASSERT(bb.catches.empty()); in ComputeLoopTree()
|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
H A D | ir_builder.h | 49 ArenaVector<CatchCodeBlock> *catches {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes) 58 catches = allocator->New<ArenaVector<CatchCodeBlock>>(allocator->Adapter()); in Init()
|
H A D | ir_builder.cpp | 270 try_info->catches->emplace_back(CatchCodeBlock {pc, 0u}); in CreateTryCatchBoundariesBlocks() 499 for (auto catch_block : *try_block.catches) { in ConnectTryCodeBlock()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
H A D | ir_builder.h | 55 ArenaVector<CatchCodeBlock> *catches {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes) 65 catches = allocator->New<ArenaVector<CatchCodeBlock>>(allocator->Adapter()); in Init()
|
H A D | ir_builder.cpp | 455 tryInfo->catches->emplace_back(CatchCodeBlock {pc, typeId}); in CreateTryCatchBoundariesBlocks() 680 for (auto catchBlock : *tryBlock.catches) { in ConnectTryCodeBlock() 845 for (auto catchBlock : *tryBlock.catches) { in FindAppropriateCatchBlock()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | helpers.cpp | 1997 const auto catches = p->AsTryStatement()->CatchClauses(); in CheckThrowingPlacement() local 1998 if (std::any_of(catches.begin(), catches.end(), predicateFunc)) { in CheckThrowingPlacement()
|
Completed in 13 milliseconds