Lines Matching refs:pandaGen
26 let pandaGen = compiler.getPandaGen();
27 let arrayObj = pandaGen.getTemp();
29 pandaGen.freeTemps(arrayObj);
33 let pandaGen = compiler.getPandaGen();
36 pandaGen.createEmptyArray(node);
37 pandaGen.storeAccumulator(node, arrayObj);
42 let indexReg = pandaGen.getTemp();
55 emitCreateArrayWithBuffer(pandaGen, literalBuffer, element);
56 pandaGen.storeAccumulator(element, arrayObj);
64 storeElementIfSpreadExisted(pandaGen, element, arrayObj, indexReg);
66 pandaGen.storeOwnProperty(element, arrayObj, i);
73 emitCreateArrayWithBuffer(pandaGen, literalBuffer, element);
74 pandaGen.storeAccumulator(element, arrayObj);
79 storeSpreadElement(compiler, pandaGen, element, arrayObj, indexReg);
82 pandaGen.loadAccumulatorInt(element, i);
83 pandaGen.storeAccumulator(element, indexReg);
84 storeSpreadElement(compiler, pandaGen, element, arrayObj, indexReg);
91 emitCreateArrayWithBuffer(pandaGen, literalBuffer, element);
92 pandaGen.storeAccumulator(element, arrayObj);
99 pandaGen.loadAccumulator(element, indexReg);
100 pandaGen.storeObjProperty(element, arrayObj, "length");
103 pandaGen.loadAccumulatorInt(element, elements.length);
104 pandaGen.storeObjProperty(element, arrayObj, "length");
112 emitCreateArrayWithBuffer(pandaGen, literalBuffer, element);
113 pandaGen.storeAccumulator(element, arrayObj);
120 storeElementIfSpreadExisted(pandaGen, element, arrayObj, indexReg);
122 pandaGen.storeOwnProperty(element, arrayObj, i);
126 pandaGen.loadAccumulator(node, arrayObj);
127 pandaGen.freeTemps(indexReg);
161 function emitCreateArrayWithBuffer(pandaGen: PandaGen, literalBuffer: LiteralBuffer, element: ts.Ex…
163 pandaGen.createEmptyArray(element);
166 pandaGen.createArrayWithBuffer(element, bufferId);
170 function storeElementIfSpreadExisted(pandaGen: PandaGen, element: ts.Expression, arrayObj: VReg, in…
171 pandaGen.storeOwnProperty(element, arrayObj, indexReg);
172 pandaGen.unary(element, ts.SyntaxKind.PlusPlusToken, indexReg);
173 pandaGen.storeAccumulator(element, indexReg);
176 function storeSpreadElement(compiler: Compiler, pandaGen: PandaGen, element: ts.SpreadElement, arra…
178 pandaGen.storeArraySpreadElement(element, arrayObj, indexReg);
179 pandaGen.storeAccumulator(element, indexReg);