/arkcompiler/ets_frontend/ts2panda/tests/expression/ |
D | conditions.test.ts | 77 let labels = insns.filter(item => (item instanceof Label)); variable 80 expect(labels.length).to.equal(2); 85 expect(elseLabel).to.equal(labels[0]); 86 expect(endIfLabel).to.equal(labels[1]); 171 let labels = insns.filter(item => (item instanceof Label)); variable 174 expect(labels.length).to.equal(2);
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | assemblyDumper.ts | 44 private labels: Map<number, string>; // Label.id : Label string name property in AssemblyDumper 53 this.labels = new Map<number, string>(); 172 if (!this.labels.has(label.id)) { 174 this.labels.set(label.id, labelName); 176 labelName = this.labels.get(label.id)!;
|
D | ts2panda.ts | 93 …static getFuncInsnsAndRegsNum(pg: PandaGen): { insns: Ins[]; regsNum: number; labels: string[]; } { 95 let labels: Array<string> = []; 106 labels.push(insLabel); 168 labels: labels.length === 0 ? undefined : labels 452 funcInsnsAndRegsNum.labels,
|
/arkcompiler/ets_frontend/arkguard/src/transformers/rename/ |
D | RenameIdentifierTransformer.ts | 266 const labels: Label[] = scope.labels; constant 267 if (labels.length > 0) { 268 let upperMangledLabels = getUpperMangledLabelNames(labels[0]); 269 for (const label of labels) {
|
/arkcompiler/ets_frontend/arkguard/src/utils/ |
D | ScopeAnalyzer.ts | 143 labels: Label[]; property 208 let labels: Label[] = []; 227 'labels': labels, 251 current.labels.push(label); 263 if (!current.labels.includes(label)) { 267 let index: number = current.labels.findIndex((lb: Label) => { 285 let labelName: string = '$' + scope.labels.length + '_' + node.label.text; 295 scope.labels.push(label);
|
/arkcompiler/runtime_core/assembler/templates/ |
D | ins_emit.h.erb | 26 const std::unordered_map<std::string_view, panda::Label>& labels) const { 58 % ops << 'labels.find(ids[0])->second' 100 if ((ids.size() == 0) || (labels.find(ids[0]) == labels.cend())) {
|
/arkcompiler/runtime_core/assembler/ |
D | assembly-function.h | 54 TryCatchInfo(std::unordered_map<std::string_view, size_t> &labels, in TryCatchInfo() 57 : try_catch_labels(labels), try_catch_map(map), try_catch_order(param_try_catch_order) in TryCatchInfo()
|
D | assembly-ins.h | 116 const std::unordered_map<std::string_view, panda::Label> &labels) const;
|
D | assembly-parser.cpp | 823 std::vector<std::string> labels; in PrepareCatchBlock() local 848 labels.emplace_back(context_.GiveToken()); in PrepareCatchBlock() 854 catch_block.try_begin_label = labels[TRY_BEGIN]; in PrepareCatchBlock() 855 catch_block.try_end_label = labels[TRY_END]; in PrepareCatchBlock() 856 catch_block.catch_begin_label = labels[CATCH_BEGIN]; in PrepareCatchBlock() 858 catch_block.catch_end_label = labels[CATCH_END]; in PrepareCatchBlock() 860 catch_block.catch_end_label = labels[CATCH_BEGIN]; in PrepareCatchBlock()
|
D | assembly-emitter.cpp | 1490 auto labels = std::unordered_map<std::string_view, panda::Label> {}; in Emit() 1494 labels.insert_or_assign(insn.label, emitter.CreateLabel()); in Emit() 1500 auto search = labels.find(insn.label); in Emit() 1501 ASSERT(search != labels.end()); in Emit() 1506 … if (!insn.Emit(emitter, method, methods, fields, classes, strings, literalarrays, labels)) { in Emit()
|
/arkcompiler/runtime_core/docs/ |
D | irtoc.md | 94 Using labels:
|
D | assembly_format.md | 60 … primitive data types, aggregate data types, members of aggregate data types, functions and labels.
|
D | doxygen.config | 2427 # badly anti-aliased labels on the edges of a graph (i.e. they become hard to
|
/arkcompiler/runtime_core/assembler/tests/ |
D | parser_test.cpp | 2417 std::vector<std::string> labels {"try_begin", "try_end", "catch_begin"}; in TEST() local 2420 for (size_t i = 0; i < labels.size(); i++) { in TEST() 2425 for (size_t j = 0; j < labels.size(); j++) { in TEST() 2427 directive += labels[j]; in TEST() 2451 for (size_t j = 0; j < labels.size(); j++) { in TEST() 2453 directive += i == j ? "$" : labels[j]; in TEST() 2478 ss << "Test " << labels[i] << " does not exists"; in TEST() 2488 for (size_t j = 0; j < labels.size(); j++) { in TEST() 2490 v.push_back(l.TokenizeString(labels[j] + ":").first); in TEST() 2501 ASSERT_EQ(e.pos, catch_table.find(labels[i])) << ss.str(); in TEST() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | circuit_builder-inl.h | 1249 std::vector<Label> labels; in GetPredecessors() local 1251 labels.emplace_back(Label(rawlabel)); in GetPredecessors() 1253 return labels; in GetPredecessors()
|
/arkcompiler/ets_frontend/ts2panda/ts2abc/ |
D | ts2abc.cpp | 580 auto labels = function["l"]; in ParseFunctionLabels() local 581 for (Json::ArrayIndex i = 0; i < labels.size(); ++i) { in ParseFunctionLabels() 582 auto labelName = labels[i].asString(); in ParseFunctionLabels()
|
/arkcompiler/ets_frontend/es2panda/test/ |
D | test262skiplist.txt | 8623 language/statementList/eval-block-block-with-labels.js 8633 language/statementList/eval-block-with-statment-block-with-labels.js 8643 language/statementList/eval-class-block-with-labels.js 8653 language/statementList/eval-fn-block-with-labels.js
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …labels&&s.labels.get(e.idText(r.label))||!r.label&&s.allowedNonLabeledJumps&n)){var i=void 0,a=r.l…
|