• Home
  • Raw
  • Download

Lines Matching refs:pandaGen

29     let pandaGen = compiler.getPandaGen();
34 let objReg = pandaGen.getTemp();
39 pandaGen.createEmptyObject(expr);
40 pandaGen.storeAccumulator(expr, objReg);
41 pandaGen.freeTemps(objReg);
49 createObject(expr, pandaGen, objReg, literalBuffer, hasMethod, compiler);
52 setUncompiledProperties(compiler, pandaGen, properties, objReg);
54 pandaGen.loadAccumulator(expr, objReg);
55 pandaGen.freeTemps(objReg);
110 function createObject(expr: ts.ObjectLiteralExpression, pandaGen: PandaGen, objReg: VReg,
113 pandaGen.createEmptyObject(expr);
116 pandaGen.createObjectWithBuffer(expr, bufferId);
118 pandaGen.storeAccumulator(expr, objReg);
147 function compileAccessorProperty(pandaGen: PandaGen, compiler: Compiler, objReg: VReg, prop: Proper…
148 let getterReg = pandaGen.getTemp();
149 let setterReg = pandaGen.getTemp();
150 let propReg = pandaGen.getTemp();
156 createMethodOrAccessor(pandaGen, compiler, objReg, getter);
157 pandaGen.storeAccumulator(getter, getterReg);
162 createMethodOrAccessor(pandaGen, compiler, objReg, setter);
163 pandaGen.storeAccumulator(setter, setterReg);
167 pandaGen.loadAccumulatorString(accessor!, propName);
168 pandaGen.storeAccumulator(accessor!, propReg);
171 pandaGen.defineGetterSetterByValue(accessor!, objReg, propReg, getterReg, setterReg, false);
173pandaGen.defineGetterSetterByValue(accessor, objReg, propReg, getterReg, getVregisterCache(pandaGe…
175pandaGen.defineGetterSetterByValue(accessor!, objReg, propReg, getVregisterCache(pandaGen, CacheLi…
178 pandaGen.freeTemps(getterReg, setterReg, propReg);
182 let pandaGen = compiler.getPandaGen();
186 pandaGen.copyDataProperties(<ts.Expression>prop.getValue().parent, objReg);
191 let pandaGen = compiler.getPandaGen();
193 let keyReg = pandaGen.getTemp();
195 pandaGen.storeAccumulator(prop.getValue(), keyReg);
201 pandaGen.storeOwnProperty(prop.getValue(), objReg, keyReg, nameSetting);
205 … createMethodOrAccessor(pandaGen, compiler, objReg, <ts.MethodDeclaration>prop.getValue());
206 pandaGen.storeOwnProperty(prop.getValue(), objReg, keyReg, true);
210 let accessorReg = pandaGen.getTemp();
212 createMethodOrAccessor(pandaGen, compiler, objReg, getter);
213 pandaGen.storeAccumulator(getter, accessorReg);
214pandaGen.defineGetterSetterByValue(getter, objReg, keyReg, accessorReg, getVregisterCache(pandaGen
215 pandaGen.freeTemps(accessorReg);
219 let accessorReg = pandaGen.getTemp();
221 createMethodOrAccessor(pandaGen, compiler, objReg, setter);
222 pandaGen.storeAccumulator(setter, accessorReg);
223pandaGen.defineGetterSetterByValue(setter, objReg, keyReg, getVregisterCache(pandaGen, CacheList.U…
224 pandaGen.freeTemps(accessorReg);
230 pandaGen.freeTemps(keyReg);
234 let pandaGen = compiler.getPandaGen();
235 let protoReg = pandaGen.getTemp();
238 pandaGen.storeAccumulator(<ts.Expression>prop.getValue().parent, protoReg);
239 pandaGen.setObjectWithProto(<ts.Expression>prop.getValue().parent, protoReg, objReg);
240 pandaGen.freeTemps(protoReg);
243 function setUncompiledProperties(compiler: Compiler, pandaGen: PandaGen, properties: Property[], ob…
248 compileAccessorProperty(pandaGen, compiler, objReg, prop);
263 … createMethodOrAccessor(pandaGen, compiler, objReg, <ts.MethodDeclaration>prop.getValue());
269pandaGen.storeOwnProperty(prop.getValue().parent, objReg, <string | number>(prop.getName()), nameS…
284 export function createMethodOrAccessor(pandaGen: PandaGen, compiler: Compiler, objReg: VReg,
288 pandaGen.defineFunction(func, func, internalName);
290 pandaGen.defineMethod(func, internalName, objReg);