Home
last modified time | relevance | path

Searched refs:labelSet (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/es2panda/compiler/core/
DdynamicContext.cpp64 const auto &labelSet = catchTable_->LabelSet(); in LexEnvContext() local
67 pg_->SetLabel(node, labelSet.TryBegin()); in LexEnvContext()
76 const auto &labelSet = catchTable_->LabelSet(); in ~LexEnvContext() local
79 pg_->SetLabel(node, labelSet.TryEnd()); in ~LexEnvContext()
80 pg_->Branch(node, labelSet.CatchEnd()); in ~LexEnvContext()
82 pg_->SetLabel(node, labelSet.CatchBegin()); in ~LexEnvContext()
85 pg_->SetLabel(node, labelSet.CatchEnd()); in ~LexEnvContext()
112 const auto &labelSet = catchTable_->LabelSet(); in IteratorContext() local
113 pg_->SetLabel(iterator_.Node(), labelSet.TryBegin()); in IteratorContext()
118 const auto &labelSet = catchTable_->LabelSet(); in ~IteratorContext() local
[all …]
/arkcompiler/ets_frontend/es2panda/ir/statements/
DtryStatement.cpp49 const compiler::TryLabelSet &labelSet) const in CompileFinally()
54 pg->Branch(this, labelSet.CatchEnd()); in CompileFinally()
56 pg->SetLabel(this, labelSet.CatchBegin()); in CompileFinally()
59 pg->SetLabel(this, labelSet.CatchEnd()); in CompileFinally()
78 const auto &labelSet = tryCtx.LabelSet(); in CompileTryCatchFinally() local
80 pg->SetLabel(this, labelSet.TryBegin()); in CompileTryCatchFinally()
95 pg->SetLabel(this, labelSet.TryEnd()); in CompileTryCatchFinally()
97 CompileFinally(pg, &tryCtx, labelSet); in CompileTryCatchFinally()
105 const auto &labelSet = tryCtx.LabelSet(); in CompileTryFinally() local
107 pg->SetLabel(this, labelSet.TryBegin()); in CompileTryFinally()
[all …]
DforInStatement.cpp56 const auto &labelSet = enumeratorInitTryCtx.LabelSet(); in Compile() local
57 pg->SetLabel(right_, labelSet.TryBegin()); in Compile()
61 pg->SetLabel(right_, labelSet.TryEnd()); in Compile()
62 pg->Branch(right_, labelSet.CatchEnd()); in Compile()
64 pg->SetLabel(right_, labelSet.CatchBegin()); in Compile()
72 pg->SetLabel(right_, labelSet.CatchEnd()); in Compile()
DforOfStatement.cpp53 const auto &labelSet = iterInitTryCtx.LabelSet(); in Compile() local
54 pg->SetLabel(right_, labelSet.TryBegin()); in Compile()
56 pg->SetLabel(right_, labelSet.TryEnd()); in Compile()
57 pg->Branch(right_, labelSet.CatchEnd()); in Compile()
59 pg->SetLabel(right_, labelSet.CatchBegin()); in Compile()
67 pg->SetLabel(right_, labelSet.CatchEnd()); in Compile()
DtryStatement.h70 const compiler::TryLabelSet &labelSet) const;
/arkcompiler/ets_frontend/es2panda/compiler/base/
Diterators.cpp97 const auto &labelSet = tryCtx.LabelSet(); in Close() local
99 pg_->SetLabel(node_, labelSet.TryBegin()); in Close()
118 pg_->SetLabel(node_, labelSet.TryEnd()); in Close()
119 pg_->Branch(node_, labelSet.CatchEnd()); in Close()
121 pg_->SetLabel(node_, labelSet.CatchBegin()); in Close()
123 pg_->SetLabel(node_, labelSet.CatchEnd()); in Close()
156 const auto &labelSet = tryCtx.LabelSet(); in Step() local
160 pg_->SetLabel(node_, labelSet.TryBegin()); in Step()
175 pg_->SetLabel(node_, labelSet.TryEnd()); in Step()
176 pg_->Branch(node_, labelSet.CatchEnd()); in Step()
[all …]
/arkcompiler/ets_frontend/es2panda/compiler/function/
DasyncFunctionBuilder.cpp52 const auto &labelSet = catchTable_->LabelSet(); in CleanUp() local
54 pg_->SetLabel(node, labelSet.TryEnd()); in CleanUp()
55 pg_->SetLabel(node, labelSet.CatchBegin()); in CleanUp()
61 pg_->SetLabel(node, labelSet.CatchEnd()); in CleanUp()
DgeneratorFunctionBuilder.cpp39 const auto &labelSet = catchTable_->LabelSet(); in CleanUp() local
41 pg_->SetLabel(node, labelSet.TryEnd()); in CleanUp()
42 pg_->SetLabel(node, labelSet.CatchBegin()); in CleanUp()
44 pg_->SetLabel(node, labelSet.CatchEnd()); in CleanUp()
DasyncGeneratorFunctionBuilder.cpp41 const auto &labelSet = catchTable_->LabelSet(); in CleanUp() local
46 pg_->SetLabel(node, labelSet.TryEnd()); in CleanUp()
47 pg_->SetLabel(node, labelSet.CatchBegin()); in CleanUp()
53 pg_->SetLabel(node, labelSet.CatchEnd()); in CleanUp()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.cpp210 const auto &labelSet = catchBlock->LabelSet(); in GenFunctionCatchTables() local
213 pandaCatchBlock.try_begin_label = labelSet.TryBegin()->Id(); in GenFunctionCatchTables()
214 pandaCatchBlock.try_end_label = labelSet.TryEnd()->Id(); in GenFunctionCatchTables()
215 pandaCatchBlock.catch_begin_label = labelSet.CatchBegin()->Id(); in GenFunctionCatchTables()
216 pandaCatchBlock.catch_end_label = labelSet.CatchEnd()->Id(); in GenFunctionCatchTables()