/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | dynamicContext.cpp | 64 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/ |
D | tryStatement.cpp | 49 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 …]
|
D | forInStatement.cpp | 56 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()
|
D | forOfStatement.cpp | 53 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()
|
D | tryStatement.h | 70 const compiler::TryLabelSet &labelSet) const;
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
D | iterators.cpp | 97 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/ |
D | asyncFunctionBuilder.cpp | 52 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()
|
D | generatorFunctionBuilder.cpp | 39 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()
|
D | asyncGeneratorFunctionBuilder.cpp | 41 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/ |
D | emitter.cpp | 210 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()
|