| /arkcompiler/ets_frontend/ts2panda/scripts/ |
| D | diagnosticMessages.json | 4 "code": 1003 number 8 "code": 1013 number 12 "code": 1014 number 16 "code": 1015 number 20 "code": 1016 number 24 "code": 1024 number 28 "code": 1028 number 32 "code": 1029 number 36 "code": 1030 number 40 "code": 1031 number [all …]
|
| /arkcompiler/runtime_core/verification/cflow/tests/ |
| D | jumps_map_test.cpp | 27 char code[148]; in TEST_F() local 28 JumpsMap map {&code[5], &code[147]}; in TEST_F() 31 EXPECT_FALSE(map.PutJump(&code[5], &code[4])); in TEST_F() 32 EXPECT_TRUE(map.PutJump(&code[5], &code[5])); in TEST_F() 33 EXPECT_TRUE(map.PutJump(&code[5], &code[128])); in TEST_F() 34 EXPECT_FALSE(map.PutJump(&code[3], &code[6])); in TEST_F() 35 EXPECT_TRUE(map.PutJump(&code[147], &code[145])); in TEST_F() 36 EXPECT_FALSE(map.PutJump(&code[148], &code[145])); in TEST_F() 37 EXPECT_FALSE(map.PutJump(&code[143], &code[148])); in TEST_F() 39 EXPECT_TRUE(map.PutJump(&code[13], &code[5])); in TEST_F() [all …]
|
| D | instructions_map_test.cpp | 28 char code[148]; in TEST_F() local 29 InstructionsMap map {&code[5], &code[147]}; in TEST_F() 32 EXPECT_FALSE(map.PutInstruction(&code[4], 3)); in TEST_F() 33 EXPECT_TRUE(map.PutInstruction(&code[5], 2)); in TEST_F() 34 EXPECT_TRUE(map.CanJumpTo(&code[5])); in TEST_F() 35 EXPECT_FALSE(map.CanJumpTo(&code[6])); in TEST_F() 36 EXPECT_TRUE(map.CanJumpTo(&code[7])); in TEST_F() 38 map.MarkCodeBlock(&code[10], 104); in TEST_F() 39 EXPECT_TRUE(map.CanJumpTo(&code[9])); in TEST_F() 40 EXPECT_TRUE(map.CanJumpTo(&code[114])); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/compiler/tests/amd64/ |
| D | asmjit_test.cpp | 52 // Runtime designed for JIT code execution. in TEST_F() 55 // Holds code and relocation information. in TEST_F() 56 CodeHolder code(GetAllocator()); in TEST_F() local 57 code.init(rt.environment()); in TEST_F() 59 x86::Assembler a(&code); in TEST_F() 67 // Add the generated code to the runtime. in TEST_F() 68 Error err = rt.add(&fn, &code); in TEST_F() 77 // Runtime designed for JIT code execution. in TEST_F() 80 // Holds code and relocation information. in TEST_F() 81 CodeHolder code(GetAllocator()); in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/compiler/tests/x86/ |
| D | asmjit_test.cpp | 28 // Runtime designed for JIT code execution. in TEST_F() 31 // Holds code and relocation information. in TEST_F() 32 CodeHolder code; in TEST_F() local 33 code.init(rt.environment()); in TEST_F() 35 x86::Assembler a(&code); in TEST_F() 43 // Add the generated code to the runtime. in TEST_F() 44 Error err = rt.add(&fn, &code); in TEST_F() 53 // Runtime designed for JIT code execution. in TEST_F() 56 // Holds code and relocation information. in TEST_F() 57 CodeHolder code; in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | types.yaml | 17 code: 0x0 22 code: 0x01 27 code: 0x02 34 code: 0x03 42 code: 0x04 50 code: 0x05 58 code: 0x06 66 code: 0x07 74 code: 0x08 82 code: 0x09 [all …]
|
| /arkcompiler/runtime_core/docs/bc_verification/ |
| D | cflow_checks.md | 6 code 15 code 30 code 46 code 55 code 65 code 83 code 94 code | 102 into code, then they will be considered ok. Currently, due to imprecision 105 ### Code to exception handler [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | runtime-compiled_code-interaction.md | 1 # Interaction of compiled code and the runtime 5 During execution compiled code and Panda runtime should interact with each other. This document des… 8 * The structure of compiled code stack frames and stack traversing 9 * Transition from the interpeter to compiled code and vise versa 17 Panda runtime as a set of functions aimed to execute managed code. The runtime consists of several … 23 The compiler is aimed to translate managed function's bytecode to native code. The compiler has an … 25 changes its entrypoint to newly generated code. Next time when the function gets called native code… 28 Panda runtime and managed code must call functions according to the target calling convention. 29 Compiled code of a managed function must accept one extra argumnent: the pointer to `panda::Method`… 34 When the compiler generates native code for this function for ARM target it must consider that [all …]
|
| D | aot.md | 23 - `.text` - Contains compiled native code. Code of each compiled method is placed sequentially into… 30 - `code` - points to the start of `.text` section 89 ; Function executable code | 108 AOT-compiled code may use special PLT-slots to load resolved string without runtime calls. 162 …ed `ark_aotdump`, that aims to dump content of AOT files in yaml format. It can print compiled code 163 as disassembly(`--show-code disasm`) or in base64 binary(`--show-code binary`) 167 `ark_aotdump --show-code disasm file.an` 169 Sometimes it is interesting to see what code had generated for specific IR instruction, to do so th… 170 `--compiler-disasm-dump` that dumps disassembler, IR instruction and all generated native code for … 173 enables printing byte code instruction after ir instruction in dump ir. There is one more option `-…
|
| /arkcompiler/ets_frontend/ts2panda/templates/ |
| D | diagnostic.ts.erb | 19 code:number; 23 …constructor(irnode:ts.Node | undefined, code:number, file?:ts.SourceFile | undefined, args?:(strin… 24 this.code = code 88 function diag(code:number, category:ts.DiagnosticCategory, key:string, message:string, reportsUnnec… 89 …return { code: code, category: category, key: key, message: message, reportsUnnecessary: reportsUn… 122 % code = data[1]["code"] 123 <%= propName %> = <%= code %>, 127 export function getDiagnostic(code:DiagnosticCode): ts.DiagnosticMessage|undefined { 128 switch (code) { 130 % def createKey(name,code) [all …]
|
| /arkcompiler/ets_runtime/docs/ |
| D | overview.md | 5 …er toolchain and JS runtime. The JS compiler toolchain compiles JS source code into ArkCompiler by… 10 The source code compiler of ArkCompiler JS Runtime receives JS source code, based on which ts2abc g… 30 … of the Stub compiler, optimized compilation framework based on the Circuit IR, and code generator. 45 …e. To ensure security and performance, ArkCompiler JS Runtime selects the code that supports stric… 47 …code with JS runtime. ts2abc is planned to analyze and obtain the TS type information when compili… 49 …K-JS is able to share immutable objects, methods, and bytecodes (built-in code blocks and constant… 51 …code to access and operate TS objects in OpenHarmony. ArkCompiler JS Runtime is planned to statica…
|
| /arkcompiler/ets_frontend/test262/ |
| D | dynamicImport_tests.txt | 129 nested-else-script-code-valid.js 130 nested-with-script-code-valid.js 132 nested-async-gen-await-script-code-valid.js 136 nested-async-function-script-code-valid.js 137 nested-async-function-await-script-code-valid.js 143 nested-arrow-assignment-expression-script-code-valid.js 146 nested-while-script-code-valid.js 147 nested-async-arrow-function-return-await-script-code-valid.js 152 nested-arrow-script-code-valid.js 153 top-level-script-code-valid.js [all …]
|
| D | eshost.patch | 43 + genTempFileName(code){ 44 + let file = code.file; 45 + let scenario = code.scenario === 'strict mode' ? 'strict' : code.scenario; 55 evalScript(code, options = {}) { 59 + let tempfile = this.genTempFileName(code); 60 + //let tempfile = path.join(this.out, generateTempFileName(code.file)); 79 if (typeof code === 'object' && code.contents) { 129 + evalScript(code, options = {}) { 130 + return super.evalScript(code, options); 192 + evalScript(code) { [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_displaynames.cpp | 183 // 16. Let fallback be ? GetOption(options, "fallback", "string", « "code", "none" », "code"). in InitializeDisplayNames() 186 … {FallbackOption::CODE, FallbackOption::NONE}, in InitializeDisplayNames() 187 … {"code", "none"}, FallbackOption::CODE); in InitializeDisplayNames() 228 // CanonicalCodeForDisplayNames ( type, code ) 232 const JSHandle<EcmaString> &code) in CanonicalCodeForDisplayNames() argument 235 … // a. If code does not match the unicode_language_id production, throw a RangeError exception. in CanonicalCodeForDisplayNames() 237 std::string codeSt = JSLocale::ConvertToStdString(code); in CanonicalCodeForDisplayNames() 241 THROW_TYPE_ERROR_AND_RETURN(thread, "not match the language id", code); in CanonicalCodeForDisplayNames() 244 THROW_TYPE_ERROR_AND_RETURN(thread, "not match the unicode_language_id", code); in CanonicalCodeForDisplayNames() 246 // b. If IsStructurallyValidLanguageTag(code) is false, throw a RangeError exception. in CanonicalCodeForDisplayNames() [all …]
|
| /arkcompiler/runtime_core/runtime/bridge/arch/aarch64/ |
| D | handle_call_imm4_v4_v4_v4_aarch64.S | 30 // ABI arg reg 2 (x2) <- boxed arg0 from user's code 36 beq .Linvoke // No more args from user's code? 41 // ABI arg reg 3 (x3) <- boxed arg1 from user's code 46 beq .Linvoke // No more args from user's code? 48 // ABI arg reg 4 (x4) <- boxed arg2 from user's code 54 beq .Linvoke // No more args from user's code? 59 // ABI arg reg 5 (x5) <- boxed arg3 from user's code 64 beq .Linvoke // No more args from user's code? 66 // ABI arg reg 6 (x6) <- boxed arg4 from user's code
|
| /arkcompiler/runtime_core/runtime/bridge/arch/amd64/ |
| D | handle_call_imm4_v4_v4_v4_amd64.S | 33 // ABI arg reg 2 (rdx) <- boxed arg0 from user's code 38 cmpl $1, %esi // No more args from user's code? 46 // ABI arg reg 3 (rcx) <- boxed arg1 from user's code 50 cmpl $2, %esi // No more args from user's code? 53 // ABI arg reg 4 (r8) <- boxed arg2 from user's code 57 cmpl $3, %esi // No more args from user's code? 65 // ABI arg reg 5 (r9) <- boxed arg3 from user's code 69 cmpl $4, %esi // No more args from user's code? 72 // Stack slot <- boxed arg4 from user's code
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_displaynames.cpp | 90 // 3. Let code be ? ToString(code). in Of() 95 // 4. Let code be ? CanonicalCodeForDisplayNames(displayNames.[[Type]], code). in Of() 97 // 6. If fields has a field [[<code>]], return fields.[[<code>]]. in Of() 100 …JSHandle<EcmaString> code = JSDisplayNames::CanonicalCodeForDisplayNames(thread, displayNames, typ… in Of() local 101 std::string codeString = JSLocale::ConvertToStdString(code); in Of() 104 JSHandle<JSTaggedValue> codeStr = JSHandle<JSTaggedValue>::Cast(code); in Of() 108 // 7. If displayNames.[[Fallback]] is "code", return code. in Of() 110 if (fallback == FallbackOption::CODE) { in Of()
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | f32toi64.yaml | 31 code-template: | 72 code-template: | 119 code-template: | 142 code-template: | 166 code-template: | 182 code-template: | 197 code-template: | 224 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 229 code-template: | 274 code-template: |
|
| D | f64tou32.yaml | 31 code-template: | 66 code-template: | 113 code-template: | 136 code-template: | 160 code-template: | 176 code-template: | 192 code-template: | 219 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 224 code-template: | 270 code-template: |
|
| D | f64tou64.yaml | 31 code-template: | 76 code-template: | 116 code-template: | 143 code-template: | 169 code-template: | 185 code-template: | 200 code-template: | 227 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 232 code-template: | 278 code-template: |
|
| D | f32tou32.yaml | 31 code-template: | 66 code-template: | 101 code-template: | 124 code-template: | 148 code-template: | 164 code-template: | 180 code-template: | 207 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 212 code-template: | 257 code-template: |
|
| D | f32tou64.yaml | 31 code-template: | 76 code-template: | 113 code-template: | 140 code-template: | 166 code-template: | 182 code-template: | 197 code-template: | 224 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 229 code-template: | 274 code-template: |
|
| D | f32toi32.yaml | 31 code-template: | 70 code-template: | 122 code-template: | 150 code-template: | 182 code-template: | 203 code-template: | 224 code-template: | 255 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 260 code-template: | 305 code-template: |
|
| D | f64toi32.yaml | 31 code-template: | 70 code-template: | 129 code-template: | 157 code-template: | 189 code-template: | 210 code-template: | 231 code-template: | 262 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 267 code-template: | 313 code-template: |
|
| D | f64toi64.yaml | 31 code-template: | 73 code-template: | 126 code-template: | 152 code-template: | 179 code-template: | 195 code-template: | 210 code-template: | 237 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 242 code-template: | 288 code-template: |
|