• Home
  • Raw
  • Download

Lines Matching refs:array

34     VReg array = pg->AllocReg();  in GenRestElement()  local
47 pg->StoreAccumulator(restElement, array); in GenRestElement()
56 pg->StoreObjByValue(restElement, array, index); in GenRestElement()
66 pg->LoadAccumulator(restElement, array); in GenRestElement()
71 static void GenArray(PandaGen *pg, const ir::ArrayExpression *array) in GenArray() argument
73 DestructuringIterator iterator(pg, array); in GenArray()
75 if (array->Elements().empty()) { in GenArray()
82 pg->SetLabel(array, labelSet.TryBegin()); in GenArray()
84 for (const auto *element : array->Elements()) { in GenArray()
88 GenRestElement(pg, element->AsRestElement(), iterator, array->IsDeclaration()); in GenArray()
106 auto lref = JSLReference::Create(pg, target, array->IsDeclaration()); in GenArray()
124 pg->SetLabel(array, labelSet.TryEnd()); in GenArray()
127 pg->LoadAccumulator(array, iterator.Done()); in GenArray()
128 pg->BranchIfTrue(array, labelSet.CatchEnd()); in GenArray()
131 pg->Branch(array, labelSet.CatchEnd()); in GenArray()
134 pg->SetLabel(array, labelSet.CatchBegin()); in GenArray()
135 pg->StoreAccumulator(array, iterator.Result()); in GenArray()
136 pg->LoadAccumulator(array, iterator.Done()); in GenArray()
138 pg->BranchIfTrue(array, end); in GenArray()
139 pg->LoadAccumulator(array, iterator.Result()); in GenArray()
141 pg->SetLabel(array, end); in GenArray()
142 pg->LoadAccumulator(array, iterator.Result()); in GenArray()
143 pg->EmitThrow(array); in GenArray()
144 pg->SetLabel(array, labelSet.CatchEnd()); in GenArray()