/arkcompiler/ets_frontend/ts2panda/tests/expression/ |
D | propertyAccess.test.ts | 98 let propReg = new VReg(); variable 107 new Sta(propReg), 109 new Definegettersetterbyvalue(objInstance, propReg, new VReg(), funcReg), 140 let propReg = new VReg(); variable 149 new Sta(propReg), 151 new Definegettersetterbyvalue(objInstance, propReg, funcReg, new VReg()), 178 let propReg = new VReg(); variable 190 new Sta(propReg), 192 new Definegettersetterbyvalue(objInstance, propReg, getterReg, setterReg),
|
/arkcompiler/ets_frontend/ts2panda/src/expression/ |
D | memberAccessExpression.ts | 27 let propReg = pandaGen.getTemp(); 29 let { obj: obj, prop: property } = getObjAndProp(node, objReg, propReg, compiler); 44 pandaGen.freeTemps(objReg, propReg); 48 … objReg: VReg, propReg: VReg, compiler: Compiler): { obj: VReg; prop: any; } { 51 let prop: VReg | string | number = propReg; 93 pandaGen.storeAccumulator(node.argumentExpression, propReg); 94 prop = propReg;
|
D | callExpression.ts | 68 let propReg = pandaGen.getTemp(); 70 …ndProp(<ts.PropertyAccessExpression | ts.ElementAccessExpression>expr, thisReg, propReg, compiler); 84 pandaGen.freeTemps(propReg);
|
D | objectLiteralExpression.ts | 150 let propReg = pandaGen.getTemp(); 168 pandaGen.storeAccumulator(accessor!, propReg); 171 pandaGen.defineGetterSetterByValue(accessor!, objReg, propReg, getterReg, setterReg, false); 173 …pandaGen.defineGetterSetterByValue(accessor, objReg, propReg, getterReg, getVregisterCache(pandaGe… 175 …pandaGen.defineGetterSetterByValue(accessor!, objReg, propReg, getVregisterCache(pandaGen, CacheLi… 178 pandaGen.freeTemps(getterReg, setterReg, propReg);
|
/arkcompiler/ets_frontend/ts2panda/src/base/ |
D | lreference.ts | 158 let propReg = pandaGen.getTemp(); variable 159 … let { obj: object, prop: property } = getObjAndProp(realNode, objReg, propReg, compiler); 161 pandaGen.freeTemps(objReg, propReg);
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | pandagen.ts | 609 let propReg = this.getTemp(); 613 storeAccumulator(propReg), 615 this.loadObjByValue(node, obj, propReg); 616 this.freeTemps(propReg); 635 let propReg = this.getTemp(); 640 storeAccumulator(propReg), 643 this.storeObjByValue(node, obj, propReg); 644 this.freeTemps(valueReg, propReg); 662 let propReg = this.getTemp(); 667 storeAccumulator(propReg), [all …]
|
D | compilerUtils.ts | 410 let propReg: VReg = pandaGen.getTemp(); 411 namedPropRegs.push(propReg); 413 pandaGen.storeAccumulator(restProperty, propReg); 414 excludedProp[i] = propReg;
|
D | compiler.ts | 1013 let propReg: VReg; 1037 propReg = pandaGen.getTemp(); 1041 pandaGen.freeTemps(objReg, propReg); 1045 …ndProp(<ts.PropertyAccessExpression | ts.ElementAccessExpression>unaryExpr, objReg, propReg, this); 1059 pandaGen.freeTemps(objReg, propReg);
|
/arkcompiler/ets_frontend/ts2panda/src/statement/ |
D | classStatement.ts | 680 let propReg = pandaGen.getTemp(); 698 pandaGen.storeAccumulator(accessor!, propReg); 701 …pandaGen.defineGetterSetterByValue(accessor!, flag ? tmpVreg : objReg, propReg, getterReg, setterR… 703 …pandaGen.defineGetterSetterByValue(accessor, flag ? tmpVreg : objReg, propReg, getterReg, getVregi… 705 …pandaGen.defineGetterSetterByValue(accessor!, flag ? tmpVreg : objReg, propReg, getVregisterCache(… 708 pandaGen.freeTemps(getterReg, setterReg, propReg, tmpVreg); 711 function createClassMethodOrAccessor(compiler: Compiler, classReg: VReg, propReg: VReg, storeReg: V… 721 pandaGen.storeAccumulator(node, propReg); 723 createMethodOrAccessor(pandaGen, compiler, propReg, node); 746 export function setPrototypeAttributes(compiler: Compiler, node: ts.Node, classReg: VReg, propReg: … [all …]
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | pandagen.cpp | 2016 VReg propReg = AllocReg(); in ToPropertyKey() local 2025 StoreAccumulator(prop, propReg); in ToPropertyKey() 2026 return propReg; in ToPropertyKey() 2031 StoreAccumulator(prop, propReg); in ToPropertyKey() 2033 return propReg; in ToPropertyKey() 2047 VReg propReg = AllocReg(); in LoadPropertyKey() local 2048 StoreAccumulator(prop, propReg); in LoadPropertyKey() 2050 return propReg; in LoadPropertyKey()
|