Home
last modified time | relevance | path

Searched +full:ecma +full:- +full:262 (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/runtime_core/docs/changelogs/
D2024-08-29-isa&&file_format-changelog.md1 # 2024-08-29-isa&&file_format-changelog
14262.ecma-international.org/11.0/#sec-runtime-semantics-classdefinitionevaluation) chapter in ES202…
16 - callruntime.supercallforwardallargs
22 The corresponding [literalarrays_idx] offsets-array in file format is deleted since version 13.0.0.…
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DDate.ets2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
100 time -= msPerDay - 1;
106 * @see ECMA-262, 20.4.1.3
119 * @see ECMA-262, 21.4.1.3
128 approx--;
139 * @see ECMA-262, 21.4.1.4
145 let dayWithinYear = ecmaDayFromTime(time) - ecmaDayFromYear(year);
151 return (i - 1).toByte();
159 * @see ECMA-262, 21.4.1.5
[all …]
DArray.ets2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
28 if (idx < -len) {
67 * Represents JS API-compatible Array
170 const delta: int = len - this.actualLength
286 …// NOTE (ikorobkov): Please don't replace idx as int[1] with int-variable, because of value of sin…
321 for (let i = fi; i >= 0; i--) {
326 return -1
330 for (let i = fi; i >= 0; i--) {
335 return -1
[all …]
/arkcompiler/runtime_core/static_core/compiler/
Dcompiler.yaml1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
19 - name: compiler-non-optimizing
25 - name: compiler-regex
27 A regular expression that specifies methods to compile (ECMA-262 grammar).
33 - name: compiler-regex-with-signature
35 A regular expression that specifies methods to compile (ECMA-262 grammar).
41 - name: compiler-visualizer-dump
47 - name: compiler-dump
51 - name: final
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dcompiler_doc.md31 | ------ | ------ | ------ | ------ |
32 | --compiler-enable-jit | bool | true | Enables/disables JIT compiler |
33 | --compiler-hotness-threshold | uint32_t | 3000 | Threshold for "hotness" counter of the method a…
34 | --no-async-jit | bool | false | Perform compilation in the main thread or in parallel worker |
36 The combination of options "--compiler-hotness-threshold=0 --no-async-jit=true" (named also force j…
37 The --no-async-jit=true is testing option and it forcibly sets the type of GC STW, because the forc…
45 - `--panda-files` - list of input panda(.abc) files to be compiled
46 - `--output` - path to the output AOT file (default is `out.an`)
47 - `--location` - path where panda files are actually stored in the device
48 - `--compiler-cross-arch` - target architecture: arm, arm64, x86, x86_64 (If the option is not set,…
[all …]
/arkcompiler/runtime_core/compiler/
Dcompiler.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
19 - name: compiler-non-optimizing
25 - name: compiler-regex
28 …description: A regular expression that specifies methods to compile. The grammar used is ECMA-262
31 - name: compiler-visualizer-dump
37 - name: compiler-dump
41 - name: final
45 - name: compact
49 - name: life-intervals
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/stdlib/packages/
Descompat.rst2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
18 .. rst-class:: doc-code-block
29 - uriComponent\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>`
31 ------
34 .. rst-class:: doc-code-block
39 …characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the cha…
45 - uri\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>`
47 ------
50 .. rst-class:: doc-code-block
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/
DArray_escompat.erb2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
50 * Represents JS API-compatible Array
153 const delta: int = len - this.actualLength
269 …// NOTE (ikorobkov): Please don't replace idx as int[1] with int-variable, because of value of sin…
304 for (let i = fi; i >= 0; i--) {
309 return -1
313 for (let i = fi; i >= 0; i--) {
318 return -1
322 for (let i = fi; i >= 0; i--) {
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/
Dlexer.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
26 : allocator_(parserContext->GetProgram()->Allocator()), in Lexer()
28 source_(parserContext->GetProgram()->SourceCode()), in Lexer()
113 pos_.iterator.Reset(GetToken().End().index - offset); in BackwardToken()
151 ThrowError("Unterminated multi-line comment"); in SkipMultiLineComment()
224 lexer::LineIndex lineIndex = parserContext_->GetProgram()->GetLineIndex(); in ThrowError()
386 …* If the number exceeds Number.MAX_VALUE (~1.7976931348623157e+308), treat it as Infinity / -Infin… in ConvertNumber()
387 …* If the number is smaller than Number.MIN_VALUE (5e-324), it may be rounded to 0.0 or Number.MIN_… in ConvertNumber()
392 : -std::numeric_limits<double>::infinity()); in ConvertNumber()
439 exponentSignPos = Iterator().Index() - GetToken().Start().index; in ScanNumber()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/interop_js/
D5_js.rst6 http://www.apache.org/licenses/LICENSE-2.0
32 .. code-block:: javascript
42 .. code-block:: javascript
55 - When some JS function is passed through interop to ArkTS, the function object is wrapped to ESObj…
57 - When some parameters are passed in this function, their values will be converted into JS values.
59 - The function will be executed in the JS environment, and the return value will be passed through …
61 .. code-block:: javascript
69 .. code-block:: typescript
88 - ``Function Expressions`` and ``Arrow function`` will work exactly in the same way. When a variabl…
90 .. code-block:: javascript
[all …]
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2-from/index.js":e=>{var t=Object.prototype.toString,r="undefined"!=typeof Buffer&&"function"==type… property
/arkcompiler/ets_frontend/test262/
Dskip_tests.json5 "built-ins/Promise/all/species-get-error.js",
6 "built-ins/Promise/race/species-get-error.js"
12 "built-ins/Promise/allSettled/reject-element-function-name.js",
13 "built-ins/Promise/allSettled/resolve-element-function-name.js",
14 "built-ins/Promise/any/reject-element-function-name.js"
30 "language/global-code/script-decl-var-collision.js",
31 … "language/statements/class/subclass/builtin-objects/GeneratorFunction/instance-prototype.js",
32 "built-ins/RegExp/S15.10.4.1_A5_T3.js",
33 "language/literals/numeric/7.8.3-3gs.js",
34 "language/statements/class/subclass/builtin-objects/Function/instance-length.js",
[all …]