/arkcompiler/ets_frontend/es2panda/compiler/core/ |
H A D | dynamicContext.cpp | 65 const auto &labelSet = catchTable_->LabelSet(); in LexEnvContext() local 68 pg_->SetLabel(node, labelSet.TryBegin()); in LexEnvContext() 77 const auto &labelSet = catchTable_->LabelSet(); in ~LexEnvContext() local 80 pg_->SetLabel(node, labelSet.TryEnd()); in ~LexEnvContext() 81 pg_->Branch(node, labelSet.CatchEnd()); in ~LexEnvContext() 83 pg_->SetLabel(node, labelSet.CatchBegin()); in ~LexEnvContext() 86 pg_->SetLabel(node, labelSet.CatchEnd()); in ~LexEnvContext() 113 const auto &labelSet = catchTable_->LabelSet(); in IteratorContext() local 114 pg_->SetLabel(iterator_.Node(), labelSet.TryBegin()); in IteratorContext() 119 const auto &labelSet in ~IteratorContext() local 143 const auto &labelSet = catchTable_->LabelSet(); global() local 149 const auto &labelSet = catchTable_->LabelSet(); ~DestructuringIteratorContext() local [all...] |
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
H A 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 in CompileTryFinally() 132 const auto &labelSet = tryCtx.LabelSet(); CompileTryCatch() local [all...] |
H A 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()
|
H A 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()
|
H A D | tryStatement.h | 70 const compiler::TryLabelSet &labelSet) const;
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
H A 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() 173 pg_->Branch(node_, labelSet.CatchEnd()); in Step() 177 pg_->SetLabel(node_, labelSet in Step() [all...] |
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | dynamicContext.cpp | 72 const auto &labelSet = catchTable_->LabelSet(); in LexEnvContext() local 75 Cg()->SetLabel(node, labelSet.TryBegin()); in LexEnvContext() 84 const auto &labelSet = catchTable_->LabelSet(); in ~LexEnvContext() local 87 Cg()->SetLabel(node, labelSet.TryEnd()); in ~LexEnvContext() 88 Cg()->Branch(node, labelSet.CatchEnd()); in ~LexEnvContext() 90 Cg()->SetLabel(node, labelSet.CatchBegin()); in ~LexEnvContext() 93 Cg()->SetLabel(node, labelSet.CatchEnd()); in ~LexEnvContext() 121 const auto &labelSet = catchTable_->LabelSet(); in IteratorContext() local 122 pg->SetLabel(iterator_.Node(), labelSet.TryBegin()); in IteratorContext() 127 const auto &labelSet in ~IteratorContext() local [all...] |
H A D | emitter.cpp | 267 const auto &labelSet = catchBlock->LabelSet(); in GenFunctionCatchTables() local 271 pandaCatchBlock.tryBeginLabel = labelSet.TryBegin()->Id(); in GenFunctionCatchTables() 272 pandaCatchBlock.tryEndLabel = labelSet.TryEnd()->Id(); in GenFunctionCatchTables() 273 pandaCatchBlock.catchBeginLabel = labelSet.CatchBegin()->Id(); in GenFunctionCatchTables() 274 pandaCatchBlock.catchEndLabel = labelSet.CatchBegin()->Id(); in GenFunctionCatchTables()
|
H A D | JSCompiler.cpp | 1567 const auto &labelSet = tryCtx.LabelSet(); in CompileTryCatch() local 1569 pg->SetLabel(st, labelSet.TryBegin()); in CompileTryCatch() 1571 pg->SetLabel(st, labelSet.TryEnd()); in CompileTryCatch() 1573 pg->Branch(st, labelSet.CatchEnd()); in CompileTryCatch() 1575 pg->SetLabel(st, labelSet.CatchBegin()); in CompileTryCatch() 1577 pg->SetLabel(st, labelSet.CatchEnd()); in CompileTryCatch() 1580 static void CompileFinally(compiler::PandaGen *pg, compiler::TryContext *tryCtx, const compiler::TryLabelSet &labelSet, in CompileFinally() argument 1586 pg->Branch(st, labelSet.CatchEnd()); in CompileFinally() 1588 pg->SetLabel(st, labelSet.CatchBegin()); in CompileFinally() 1591 pg->SetLabel(st, labelSet in CompileFinally() 1611 const auto &labelSet = tryCtx.LabelSet(); CompileTryCatchFinally() local 1638 const auto &labelSet = tryCtx.LabelSet(); CompileTryFinally() local [all...] |
/arkcompiler/ets_frontend/ets2panda/compiler/function/ |
H A D | asyncFunctionBuilder.cpp | 44 const auto &labelSet = catchTable_->LabelSet(); in CleanUp() local 46 pg_->SetLabel(node, labelSet.TryEnd()); in CleanUp() 47 pg_->SetLabel(node, labelSet.CatchBegin()); in CleanUp() 50 pg_->SetLabel(node, labelSet.CatchEnd()); in CleanUp()
|
H A D | generatorFunctionBuilder.cpp | 35 const auto &labelSet = catchTable_->LabelSet(); in CleanUp() local 37 pg_->SetLabel(node, labelSet.TryEnd()); in CleanUp() 38 pg_->SetLabel(node, labelSet.CatchBegin()); in CleanUp() 41 pg_->SetLabel(node, labelSet.CatchEnd()); in CleanUp()
|
H A D | asyncGeneratorFunctionBuilder.cpp | 35 const auto &labelSet = catchTable_->LabelSet(); in CleanUp() local 37 pg_->SetLabel(node, labelSet.TryEnd()); in CleanUp() 38 pg_->SetLabel(node, labelSet.CatchBegin()); in CleanUp() 41 pg_->SetLabel(node, labelSet.CatchEnd()); in CleanUp()
|
/arkcompiler/ets_frontend/ets2panda/compiler/base/ |
H A D | iterators.cpp | 139 const auto &labelSet = tryCtx.LabelSet(); in Close() local 142 pg_->SetLabel(node_, labelSet.TryBegin()); in Close() 152 pg_->SetLabel(node_, labelSet.TryEnd()); in Close() 153 pg_->Branch(node_, labelSet.CatchEnd()); in Close() 155 pg_->SetLabel(node_, labelSet.CatchBegin()); in Close() 158 pg_->SetLabel(node_, labelSet.CatchEnd()); in Close() 185 const auto &labelSet = tryCtx.LabelSet(); in Step() local 189 pg_->SetLabel(node_, labelSet.TryBegin()); in Step() 204 pg_->SetLabel(node_, labelSet.TryEnd()); in Step() 205 pg_->Branch(node_, labelSet in Step() [all...] |
H A D | destructuring.cpp | 124 const auto &labelSet = tryCtx.LabelSet(); in GenArray() local 125 pg->SetLabel(array, labelSet.TryBegin()); in GenArray() 129 pg->SetLabel(array, labelSet.TryEnd()); in GenArray() 133 pg->BranchIfTrue(array, labelSet.CatchEnd()); in GenArray() 136 pg->Branch(array, labelSet.CatchEnd()); in GenArray() 139 pg->SetLabel(array, labelSet.CatchBegin()); in GenArray() 149 pg->SetLabel(array, labelSet.CatchEnd()); in GenArray()
|
/arkcompiler/ets_frontend/es2panda/compiler/function/ |
H A D | asyncFunctionBuilder.cpp | 56 const auto &labelSet = catchTable_->LabelSet(); in CleanUp() local 58 pg_->SetLabel(node, labelSet.TryEnd()); in CleanUp() 59 pg_->SetLabel(node, labelSet.CatchBegin()); in CleanUp() 65 pg_->SetLabel(node, labelSet.CatchEnd()); in CleanUp()
|
H A 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()
|
H A 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/ |
H A D | emitter.cpp | 479 const auto &labelSet = catchBlock->LabelSet(); in GenFunctionCatchTables() local 482 pandaCatchBlock.try_begin_label = labelSet.TryBegin()->Id(); in GenFunctionCatchTables() 483 pandaCatchBlock.try_end_label = labelSet.TryEnd()->Id(); in GenFunctionCatchTables() 484 pandaCatchBlock.catch_begin_label = labelSet.CatchBegin()->Id(); in GenFunctionCatchTables() 485 pandaCatchBlock.catch_end_label = labelSet.CatchEnd()->Id(); in GenFunctionCatchTables()
|