/arkcompiler/ets_frontend/ts2panda/src/function/ |
D | asyncGeneratorFunctionBuilder.ts | 50 this.funcObj = pandaGen.getTemp(); 63 pg.storeAccumulator(node, this.funcObj); 67 pg.suspendGenerator(node, this.funcObj); 68 pg.resumeGenerator(node, this.funcObj); 81 pg.generatorComplete(node, this.funcObj); 82 …pg.asyncgeneratorresolve(node, this.funcObj, this.resumeVal, getVregisterCache(pg, CacheList.TRUE)… 89 pg.asyncFunctionAwaitUncaught(node, this.funcObj); 90 pg.suspendGenerator(node, this.funcObj); 93 pg.generatorComplete(node, this.funcObj); 94 …pg.asyncgeneratorresolve(node, this.funcObj, this.resumeVal, getVregisterCache(pg, CacheList.TRUE)… [all …]
|
D | functionBuilder.ts | 35 protected funcObj: VReg | undefined = undefined; property in FunctionBuilder 57 pg.asyncFunctionAwaitUncaught(node, this.funcObj); 58 pg.suspendGenerator(node, this.funcObj); 60 pg.resumeGenerator(node, this.funcObj); 66 pg.resumeGenerator(node, this.funcObj); 68 pg.getResumeMode(node, this.funcObj);
|
D | asyncFunctionBuilder.ts | 41 this.funcObj = pandaGen.getTemp(); 51 pandaGen.storeAccumulator(NodeKind.INVALID, this.funcObj); 64 this.pg.asyncFunctionResolve(node, this.funcObj); 70 this.pg.asyncFunctionResolve(node, this.funcObj); 78 pandaGen.getResumeMode(node, this.funcObj); 101 pandaGen.asyncFunctionResolve(node, this.funcObj); 110 pandaGen.asyncFunctionReject(NodeKind.INVALID, this.funcObj); 113 pandaGen.freeTemps(this.funcObj, this.resumeVal);
|
D | generatorFunctionBuilder.ts | 41 this.funcObj = pandaGen.getTemp(); 51 pandaGen.storeAccumulator(node, this.funcObj); 53 pandaGen.suspendGenerator(node, this.funcObj); 54 pandaGen.resumeGenerator(node, this.funcObj); 75 pandaGen.suspendGenerator(node, this.funcObj); 78 pandaGen.resumeGenerator(node, this.funcObj); 187 pandaGen.suspendGenerator(expr, this.funcObj); 188 pandaGen.resumeGenerator(expr, this.funcObj); 190 pandaGen.getResumeMode(expr, this.funcObj); 225 pandaGen.getResumeMode(node, this.funcObj); [all …]
|
/arkcompiler/ets_frontend/ts2panda/tests/ |
D | lexenv.test.ts | 243 let funcObj = globalScope.add("4funcObj", VarDeclarationKind.LET); variable 244 funcObj!.bindVreg(new VReg()); 265 let funcObj = globalScope.add("4funcObj", VarDeclarationKind.LET); variable 266 funcObj!.bindVreg(new VReg()); 304 let funcObj = globalScope.add("4funcObj", VarDeclarationKind.LET); variable 305 funcObj!.bindVreg(new VReg()); 328 let funcObj = globalScope.add("4funcObj", VarDeclarationKind.LET); variable 329 funcObj!.bindVreg(new VReg());
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | scope.ts | 350 let funcObj = this.name2variable.get(MandatoryFuncObj); 351 this.name2variable.set(funcName, funcObj!);
|
D | pandagen.ts | 1158 createGeneratorObj(node: ts.Node, funcObj: VReg): void { 1159 this.add(node, new Creategeneratorobj(funcObj)); 1162 createAsyncGeneratorObj(node: ts.Node, funcObj: VReg): void { 1163 this.add(node, new Createasyncgeneratorobj(funcObj));
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | pandagen.h | 383 void CreateGeneratorObj(const ir::AstNode *node, VReg funcObj); 394 void CreateAsyncGeneratorObj(const ir::AstNode *node, VReg funcObj);
|
D | pandagen.cpp | 1379 void PandaGen::CreateGeneratorObj(const ir::AstNode *node, VReg funcObj) in CreateGeneratorObj() argument 1381 ra_.Emit<Creategeneratorobj>(node, funcObj); in CreateGeneratorObj() 1384 void PandaGen::CreateAsyncGeneratorObj(const ir::AstNode *node, VReg funcObj) in CreateAsyncGeneratorObj() argument 1386 ra_.Emit<Createasyncgeneratorobj>(node, funcObj); in CreateAsyncGeneratorObj()
|
/arkcompiler/ets_frontend/ts2panda/src/statement/ |
D | classStatement.ts | 422 let funcObj = <Variable>curFuncScope.findLocal(MandatoryFuncObj); 423 pandaGen.loadLexicalVar(node, level, funcObj.lexIndex());
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | interpreter_stub.cpp | 4633 GateRef funcObj = GetFunctionFromFrame(GetFrame(sp)); in DECLARE_ASM_HANDLER() local 4634 CallRuntime(glue, RTSTUB_ID(NotifyConcurrentResult), {acc, funcObj}); in DECLARE_ASM_HANDLER()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | interpreter-inl.h | 7214 JSTaggedValue funcObj = GetFunction(sp); in RunInternal() local 7215 SlowRuntimeStub::NotifyConcurrentResult(thread, acc, funcObj); in RunInternal()
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …funcObj",8]]),n=0,i=this.pandaGen.getScope();if(i instanceof O.FunctionScope){let a=[],o=new Set,s…
|