/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | slowpath_lowering.h | 126 void CallRuntimeLowering(); 154 …void ReplaceHirWithPendingException(GateRef hirGate, GateRef state, GateRef depend, GateRef value); 155 void ReplaceHirWithValue(GateRef hirGate, GateRef value, bool noThrow = false); 156 void ReplaceHirToThrowCall(GateRef hirGate, GateRef callGate); 157 void LowerExceptionHandler(GateRef hirGate); 158 void Lower(GateRef gate); 159 void LowerAdd2(GateRef gate); 160 void LowerCreateIterResultObj(GateRef gate); 161 void SaveFrameToContext(GateRef gate); 162 void LowerSuspendGenerator(GateRef gate); [all …]
|
D | ts_hcr_lowering.h | 84 void Lower(GateRef gate); 86 void LowerTypedBinOp(GateRef gate); 87 void LowerTypedMod(GateRef gate); 88 void LowerTypedDiv(GateRef gate); 89 void LowerTypedStrictEq(GateRef gate); 90 void LowerTypedShl(GateRef gate); 91 void LowerTypedShr(GateRef gate); 92 void LowerTypedAshr(GateRef gate); 93 void LowerTypedAnd(GateRef gate); 94 void LowerTypedOr(GateRef gate); [all …]
|
D | lcr_lowering.h | 38 void Run(); 46 void DeleteStateSplit(GateRef gate); 47 void LowerArrayGuardianCheck(GateRef gate); 48 void LowerHeapObjectCheck(GateRef gate); 49 void LowerHClassStableArrayCheck(GateRef gate); 50 void LowerGetConstPool(GateRef gate); 51 void LowerLoadConstOffset(GateRef gate); 52 void LowerStoreConstOffset(GateRef gate); 53 void LowerConvertHoleAsUndefined(GateRef gate); 54 void LowerCheckAndConvert(GateRef gate); [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/ |
D | common_call.h | 55 …static void PushUndefinedWithArgc(ExtendedAssembler *assembler, Register glue, Register argc, Regi… 57 …static void PushArgsWithArgv(ExtendedAssembler *assembler, Register glue, Register argc, Register … 59 static void PushAsmInterpBridgeFrame(ExtendedAssembler *assembler); 60 static void PopAsmInterpBridgeFrame(ExtendedAssembler *assembler); 61 …static void StackOverflowCheck(ExtendedAssembler *assembler, Register glue, Register currentSlot, … 63 static void PushLeaveFrame(ExtendedAssembler *assembler, Register glue); 64 static void PopLeaveFrame(ExtendedAssembler *assembler); 69 static void CallRuntime(ExtendedAssembler *assembler); 71 static void JSFunctionEntry(ExtendedAssembler *assembler); 73 static void OptimizedCallAndPushUndefined(ExtendedAssembler *assembler); [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/ |
D | assembler_x64.h | 68 void BuildSIB(Scale scale, Register index, Register base); 69 void BuildModerm(int32_t mode, Register rm); 70 void BuildDisp8(int32_t disp); 71 void BuildDisp32(int32_t disp); 89 void Pushq(Register x); 90 void Pushq(Immediate x); 91 void Push(Register x); 92 void Popq(Register x); 93 void Pop(Register x); 94 void Movq(Register src, Register dst); [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins.h | 46 …void Initialize(const JSHandle<GlobalEnv> &env, JSThread *thread, bool lazyInit = false, bool isRe… 47 void InitializeForSnapshot(JSThread *thread); 68 void SetLazyAccessor(const JSHandle<JSObject> &object, const JSHandle<JSTaggedValue> &key, 71 void InitializeCtor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &prototype, 74 …void InitializeGlobalObject(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &globalObject… 76 void InitializeFunctionHclassForOptimized(const JSHandle<GlobalEnv> &env) const; 78 …void InitializeFunction(const JSHandle<GlobalEnv> &env, const JSHandle<JSHClass> &emptyFuncClass) … 80 … void InitializeObject(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &objFuncPrototype, 83 void InitializeNumber(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &globalObject, 86 …void InitializeBigInt(const JSHandle<GlobalEnv> &env, const JSHandle<JSHClass> &primRefObjClass) c… [all …]
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | pandagen.h | 145 void SetInsns(ArenaList<IRNode *> &newInsns) in SetInsns() 233 void SetSourceLocationFlag(lexer::SourceLocationFlag flag) in SetSourceLocationFlag() 238 void AdjustSpillInsns() in AdjustSpillInsns() 254 void SetFunctionKind(); 270 void FunctionInit(CatchTable* catchTable); 271 void FunctionEnter(); 272 void FunctionExit(); 278 void InitializeLexEnv(const ir::AstNode *node); 279 void CopyFunctionArguments(const ir::AstNode *node); 280 void GetFunctionObject(const ir::AstNode *node); [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/ |
D | common_call.h | 32 static void CopyArgumentWithArgV(ExtendedAssembler *assembler, Register argc, Register argV); 33 static void PushAsmInterpBridgeFrame(ExtendedAssembler *assembler); 34 static void PopAsmInterpBridgeFrame(ExtendedAssembler *assembler); 35 static void PushUndefinedWithArgc(ExtendedAssembler *assembler, Register argc); 36 static void GetArgvAtStack(ExtendedAssembler *assembler); 37 …static void PushArgsWithArgvAndCheckStack(ExtendedAssembler *assembler, Register glue, Register ar… 39 …static void StackOverflowCheck(ExtendedAssembler *assembler, Register glue, Register numArgs, Regi… 45 static void CallRuntime(ExtendedAssembler *assembler); 47 static void JSFunctionEntry(ExtendedAssembler *assembler); 49 static void OptimizedCallAndPushUndefined(ExtendedAssembler *assembler); [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | asyncMethodWithSuper_es6.ts | 20 declare function AssertType(value:any, type:string):void; 33 AssertType(super.x(), "void"); 34 AssertType(super.x, "() => void"); 39 AssertType(super.y(), "void"); 40 AssertType(super.y, "() => void"); 45 AssertType(super["x"](), "void"); 46 AssertType(super["x"], "() => void"); 52 AssertType(a, "() => void"); 53 AssertType(super.x, "() => void"); 58 AssertType(b, "() => void"); [all …]
|
D | voidOperatorWithNumberType.ts | 20 declare function AssertType(value:any, type:string):void; 21 // void operator on number type 53 let ResultIsAny1 = void NUMBER; 55 AssertType(void NUMBER, "undefined"); 58 let ResultIsAny2 = void NUMBER1; 60 AssertType(void NUMBER1, "undefined"); 64 let ResultIsAny3 = void 1; 66 AssertType(void 1, "undefined"); 69 let ResultIsAny4 = void { x: 1, y: 2}; 71 AssertType(void { x: 1, y: 2}, "undefined"); [all …]
|
D | voidOperatorWithStringType.ts | 20 declare function AssertType(value:any, type:string):void; 21 // void operator on string type 53 let ResultIsAny1 = void STRING; 55 AssertType(void STRING, "undefined"); 58 let ResultIsAny2 = void STRING1; 60 AssertType(void STRING1, "undefined"); 64 let ResultIsAny3 = void ""; 66 AssertType(void "", "undefined"); 69 let ResultIsAny4 = void { x: "", y: "" }; 71 AssertType(void { x: "", y: "" }, "undefined"); [all …]
|
D | es2017basicAsync.ts | 20 declare function AssertType(value:any, type:string):void; 21 async (): Promise<void> => { 22 AssertType(async (): Promise<void> => { await 0;}, "() => Promise<void>"); 35 const asyncArrowFunc = async (): Promise<void> => { 36 AssertType(asyncArrowFunc, "() => Promise<void>"); 37 AssertType(async (): Promise<void> => { await 0;}, "() => Promise<void>"); 49 await (async function(): Promise<void> { 50 AssertType(await (async function(): Promise<void> { await 1; })(), "void"); 51 AssertType((async function(): Promise<void> { await 1; })(), "Promise<void>"); 52 AssertType((async function(): Promise<void> { await 1; }), "() => Promise<void>"); [all …]
|
D | methodContainingLocalFunction.ts | 20 declare function AssertType(value:any, type:string):void; 25 AssertType(localFunction, "() => void"); 28 let x: { (): void; }; 29 AssertType(x, "() => void"); 32 AssertType(x = localFunction, "() => void"); 33 AssertType(x, "() => void"); 34 AssertType(localFunction, "() => void"); 41 AssertType(localFunction, "() => void"); 44 let x: { (): void; }; 45 AssertType(x, "() => void"); [all …]
|
D | voidOperatorWithEnumType.ts | 20 declare function AssertType(value:any, type:string):void; 21 // void operator on enum type 27 let ResultIsAny1 = void ENUM; 29 AssertType(void ENUM, "undefined"); 32 let ResultIsAny2 = void ENUM1; 34 AssertType(void ENUM1, "undefined"); 38 let ResultIsAny3 = void ENUM1["A"]; 40 AssertType(void ENUM1["A"], "undefined"); 45 let ResultIsAny4 = void (ENUM[0] + ENUM1["B"]); 47 AssertType(void (ENUM[0] + ENUM1["B"]), "undefined"); [all …]
|
D | comparisonOperatorWithSubtypeObjectOnCallSignature.ts | 20 declare function AssertType(value:any, type:string):void; 29 let a1: { fn(): void }; 30 AssertType(a1, "{ fn(): void; }"); 31 AssertType(fn, "() => void"); 33 let b1: { fn(): void }; 34 AssertType(b1, "{ fn(): void; }"); 35 AssertType(fn, "() => void"); 37 let a2: { fn(a: number, b: string): void }; 38 AssertType(a2, "{ fn(number, string): void; }"); 39 AssertType(fn, "(number, string) => void"); [all …]
|
D | voidOperatorWithBooleanType.ts | 20 declare function AssertType(value:any, type:string):void; 21 // void operator on boolean type 47 let ResultIsAny1 = void BOOLEAN; 49 AssertType(void BOOLEAN, "undefined"); 53 let ResultIsAny2 = void true; 55 AssertType(void true, "undefined"); 58 let ResultIsAny3 = void { x: true, y: false }; 60 AssertType(void { x: true, y: false }, "undefined"); 68 let ResultIsAny4 = void objA.a; 70 AssertType(void objA.a, "undefined"); [all …]
|
D | asyncAwait_es5.ts | 20 declare function AssertType(value:any, type:string):void; 33 async function f1(): Promise<void> { } 34 async function f3(): MyPromise<void> { } 37 AssertType(f4, "() => Promise<void>"); 39 AssertType(async function() { }, "() => Promise<void>"); 42 let f5 = async function(): Promise<void> { 43 AssertType(f5, "() => Promise<void>"); 45 AssertType(async function(): Promise<void> { }, "() => Promise<void>"); 48 let f6 = async function(): MyPromise<void> { 49 AssertType(f6, "() => MyPromise<void>"); [all …]
|
D | asyncAwait_es2017.ts | 20 declare function AssertType(value:any, type:string):void; 33 async function f1(): Promise<void> { } 34 async function f3(): MyPromise<void> { } 37 AssertType(f4, "() => Promise<void>"); 39 AssertType(async function() { }, "() => Promise<void>"); 42 let f5 = async function(): Promise<void> { 43 AssertType(f5, "() => Promise<void>"); 45 AssertType(async function(): Promise<void> { }, "() => Promise<void>"); 48 let f6 = async function(): MyPromise<void> { 49 AssertType(f6, "() => MyPromise<void>"); [all …]
|
D | asyncAwait_es6.ts | 20 declare function AssertType(value:any, type:string):void; 33 async function f1(): Promise<void> { } 34 async function f3(): MyPromise<void> { } 37 AssertType(f4, "() => Promise<void>"); 39 AssertType(async function() { }, "() => Promise<void>"); 42 let f5 = async function(): Promise<void> { 43 AssertType(f5, "() => Promise<void>"); 45 AssertType(async function(): Promise<void> { }, "() => Promise<void>"); 48 let f6 = async function(): MyPromise<void> { 49 AssertType(f6, "() => MyPromise<void>"); [all …]
|
D | mappedTypes1.ts | 20 declare function AssertType(value:any, type:string):void; 36 type T30 = { [P in keyof any]: void }; 37 type T31 = { [P in keyof string]: void }; 38 type T32 = { [P in keyof number]: void }; 39 type T33 = { [P in keyof boolean]: void }; 40 type T34 = { [P in keyof undefined]: void }; 41 type T35 = { [P in keyof null]: void }; 42 type T36 = { [P in keyof void]: void }; 43 type T37 = { [P in keyof symbol]: void }; 44 type T38 = { [P in keyof never]: void }; [all …]
|
D | asyncMethodWithSuperConflict_es6.ts | 20 declare function AssertType(value:any, type:string):void; 41 AssertType(super.x(), "void"); 42 AssertType(super.x, "() => void"); 47 AssertType(super.y(), "void"); 48 AssertType(super.y, "() => void"); 53 AssertType(super["x"](), "void"); 54 AssertType(super["x"], "() => void"); 60 AssertType(a, "() => void"); 61 AssertType(super.x, "() => void"); 66 AssertType(b, "() => void"); [all …]
|
D | asyncMethodWithSuper_es2017.ts | 20 declare function AssertType(value:any, type:string):void; 33 AssertType(super.x(), "void"); 34 AssertType(super.x, "() => void"); 39 AssertType(super.y(), "void"); 40 AssertType(super.y, "() => void"); 45 AssertType(super["x"](), "void"); 46 AssertType(super["x"], "() => void"); 52 AssertType(a, "() => void"); 53 AssertType(super.x, "() => void"); 58 AssertType(b, "() => void"); [all …]
|
D | asyncMethodWithSuper_es5.ts | 20 declare function AssertType(value:any, type:string):void; 33 AssertType(super.x(), "void"); 34 AssertType(super.x, "() => void"); 39 AssertType(super.y(), "void"); 40 AssertType(super.y, "() => void"); 45 AssertType(super["x"](), "void"); 46 AssertType(super["x"], "() => void"); 52 AssertType(a, "() => void"); 53 AssertType(super.x, "() => void"); 58 AssertType(b, "() => void"); [all …]
|
D | objectTypeHidingMembersOfObject.ts | 20 declare function AssertType(value:any, type:string):void; 30 let r1: void = c.valueOf(); 31 AssertType(r1, "void"); 32 AssertType(c.valueOf(), "void"); 33 AssertType(c.valueOf, "() => void"); 36 valueOf(): void; 42 let r2: void = i.valueOf(); 43 AssertType(r2, "void"); 44 AssertType(i.valueOf(), "void"); 45 AssertType(i.valueOf, "() => void"); [all …]
|
/arkcompiler/toolchain/tooling/agent/ |
D | runtime_impl.h | 53 void Dispatch(const DispatchRequest &request) override; 54 void Disable(const DispatchRequest &request); 55 void Enable(const DispatchRequest &request); 56 void RunIfWaitingForDebugger(const DispatchRequest &request); 57 void GetProperties(const DispatchRequest &request); 58 void CallFunctionOn(const DispatchRequest &request); 59 void GetHeapUsage(const DispatchRequest &request); 62 using AgentHandler = void (RuntimeImpl::DispatcherImpl::*)(const DispatchRequest &request); 74 void CacheObjectIfNeeded(Local<JSValueRef> valRef, RemoteObject *remoteObj); 77 void AddTypedArrayRef(Local<ArrayBufferRef> arrayBufferRef, int32_t length, [all …]
|