Home
last modified time | relevance | path

Searched refs:propReg (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/ts2panda/tests/expression/
DpropertyAccess.test.ts98 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/
DmemberAccessExpression.ts27 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;
DcallExpression.ts68 let propReg = pandaGen.getTemp();
70 …ndProp(<ts.PropertyAccessExpression | ts.ElementAccessExpression>expr, thisReg, propReg, compiler);
84 pandaGen.freeTemps(propReg);
DobjectLiteralExpression.ts150 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/
Dlreference.ts158 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/
Dpandagen.ts609 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 …]
DcompilerUtils.ts410 let propReg: VReg = pandaGen.getTemp();
411 namedPropRegs.push(propReg);
413 pandaGen.storeAccumulator(restProperty, propReg);
414 excludedProp[i] = propReg;
Dcompiler.ts1013 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/
DclassStatement.ts680 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/
Dpandagen.cpp2016 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()