| /arkcompiler/runtime_core/static_core/runtime/ |
| D | mark_word.h | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 15 // Our main goal is to have similar interface for two different platforms - high-end and low-end. 17 // 64 bits object header for high-end devices: (64 bits pointer) 18 // |--------------------------------------------------------------------------------------|--------… 20 // |-----------------------------------------------------|--------------------------------|--------… 22 // |-----------------------------------------------------|--------------------------------|--------… 24 // |-----------------------------------------------------|--------------------------------|--------… 26 // |-----------------------------------------------------|--------------------------------|--------… 28 // |-----------------------------------------------------|--------------------------------|--------… [all …]
|
| /arkcompiler/runtime_core/static_core/verification/gen/templates/ |
| D | handle_gen.h.erb | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 16 // NOLINTNEXTLINE(readability-function-size) 25 % # --------------------------------------------------------------------------------------------- 27 % # --------------------------------------------------------------------------------------------- 32 % # --------------------------------------------------------------------------------------------- 35 % # --------------------------------------------------------------------------------------------- 37 % # --------------------------------------------------------------------------------------------- 40 % # --------------------------------------------------------------------------------------------- 43 % # --------------------------------------------------------------------------------------------- [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/type_extractor/dts-testcases/ |
| D | test-type-summary-order-1-expected.txt | 2 ------------------------------------ 854 ------------------------------------ 856 ------------------------------------ 858 ------------------------------------ 860 ------------------------------------ 862 ------------------------------------ 864 ------------------------------------ 866 ------------------------------------ 868 ------------------------------------ 870 ------------------------------------ [all …]
|
| D | test-interface-type-test-1-expected.txt | 2 ------------------------------------ 854 ------------------------------------ 856 ------------------------------------ 858 ------------------------------------ 860 ------------------------------------ 862 ------------------------------------ 864 ------------------------------------ 866 ------------------------------------ 868 ------------------------------------ 870 ------------------------------------ [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | memory-management.md | 12 * [Object header](#object-header) 20  23 - base mode 24 - allocators with some average metrics and profile-based configuration(if available) 25 - some baseline GC with profile-based configuration(if available) 26 - performance 27 - allocators with low allocation cost 28 …- low-pause/pauseless GC(for games) or GC with high throughput and acceptable STW pause (for not g… 29 - power-saving mode 30 - energy-efficient allocators(if possible) [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | memory-management.md | 12 * [Object header](#object-header) 20  23 - base mode 24 - allocators with some average metrics and profile-based configuration(if available) 25 - some baseline GC with profile-based configuration(if available) 26 - performance 27 - allocators with low allocation cost 28 …- low-pause/pauseless GC(for games) or GC with high throughput and acceptable STW pause (for not g… 29 - power-saving mode 30 - energy-efficient allocators(if possible) [all …]
|
| /arkcompiler/ets_runtime/ecmascript/stackmap/ |
| D | ark_stackmap.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 67 // +-----------------------------------------+ --------- 69 // |-----------------------------------------| ArkStackMapHeader 71 // +-----------------------------------------+ --------- 73 // |-----------------------------------------| | 75 // |-----------------------------------------| | 77 // |-----------------------------------------| | 79 // |-----------------------------------------| | 81 // |-----------------------------------------| --------- 83 // +-----------------------------------------+ --------- [all …]
|
| /arkcompiler/runtime_core/static_core/ |
| D | CMakeLists.txt | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 18 # multi-configuration generators (i.e. Visual Studio): 33 # ----- Default flags ---------------------------------------------------------- 39 # ----- Global variables ------------------------------------------------------- 48 add_definitions(-DBUILD_FOLDER="${CMAKE_CURRENT_BINARY_DIR}") 55 # ----- Policies --------------------------------------------------------------- 63 # ----- Platform definitions --------------------------------------------------- 68 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -rdynamic") 69 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic") [all …]
|
| /arkcompiler/ets_frontend/test262/ |
| D | dynamicImport_tests.txt | 1 usage-from-eval.js 2 returns-promise.js 3 nested-arrow-assignment-expression-not-extensible-args.js 4 nested-block-no-new-call-expression.js 5 invalid-assignmenttargettype-syntax-error-12-lhs-assignment-operator-assignment-expression.js 6 nested-async-gen-await-no-new-call-expression.js 7 nested-else-braceless-not-extensible-no-trailing-comma.js 8 nested-function-return-assignment-expr-not-optional.js 9 nested-else-braceless-assignment-expr-not-optional.js 10 nested-if-no-rest-param.js [all …]
|
| D | module_tests.txt | 1 early-dup-export-decl.js 2 early-dup-export-dflt-id.js 3 early-dup-export-dflt.js 4 early-dup-export-id-as.js 5 early-dup-export-id.js 6 early-dup-lables.js 7 early-dup-lex.js 8 early-export-global.js 9 early-lex-and-var.js 10 early-new-target.js [all …]
|
| D | ts2abc_skip_tests.json | 5 "language/expressions/async-arrow-function/array-destructuring-param-strict-body.js", 6 …"language/expressions/async-arrow-function/await-as-param-rest-nested-arrow-parameter-position.js", 7 "language/expressions/async-arrow-function/dflt-params-abrupt.js", 8 … "language/expressions/async-arrow-function/await-as-param-nested-arrow-body-position.js", 9 "language/expressions/async-arrow-function/dflt-params-ref-later.js", 10 "language/expressions/async-arrow-function/dflt-params-ref-self.js", 11 "language/expressions/async-arrow-function/object-destructuring-param-strict-body.js", 12 "language/expressions/async-function/named-array-destructuring-param-strict-body.js", 13 "language/expressions/async-function/named-dflt-params-abrupt.js", 14 "language/expressions/async-function/named-dflt-params-ref-later.js", [all …]
|
| D | es2021_tests.txt | 1 built-ins/AsyncGeneratorFunction/name.js 2 built-ins/AsyncGeneratorFunction/length.js 3 built-ins/AsyncGeneratorFunction/prototype/constructor.js 4 built-ins/AsyncGeneratorFunction/prototype/prop-desc.js 5 built-ins/AsyncGeneratorFunction/prototype/Symbol.toStringTag.js 6 built-ins/AsyncGeneratorFunction/prototype/not-callable.js 7 built-ins/AsyncGeneratorFunction/prototype/prototype.js 8 built-ins/AsyncGeneratorFunction/prototype/extensibility.js 9 built-ins/AsyncGeneratorFunction/extensibility.js 10 built-ins/AsyncGeneratorPrototype/Symbol.toStringTag.js [all …]
|
| D | es2022_tests.txt | 1 built-ins/Object/hasOwn/hasown_inherited_nonwritable_nonconfigurable_nonenumerable.js 2 built-ins/Object/hasOwn/hasown_inherited_getter_configurable_enumerable.js 3 built-ins/Object/hasOwn/hasown_inherited_getter_and_setter_nonconfigurable_enumerable.js 4 built-ins/Object/hasOwn/hasown_inherited_writable_nonconfigurable_nonenumerable.js 5 built-ins/Object/hasOwn/symbol_property_toPrimitive.js 6 built-ins/Object/hasOwn/hasown_inherited_exists.js 7 built-ins/Object/hasOwn/hasown_own_property_exists.js 8 built-ins/Object/hasOwn/hasown_inherited_getter_nonconfigurable_nonenumerable.js 9 built-ins/Object/hasOwn/hasown_inherited_writable_configurable_nonenumerable.js 10 built-ins/Object/hasOwn/hasown_inherited_writable_configurable_enumerable.js [all …]
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | README.md | 18 | ------- | --------------- | ---- | --------------------------- | 28 | --------------------- | -------------------------------- | 38 NativePointerCallback deleter = [](void *env, void *buffer, void *data) -> void { 55 | ------ | ---- | ---- | ---- | 61 | ------ | ------------------------------------------------ | 70 NativePointerCallback deleter = [](void *env, void *buffer, void *data) -> void { 76 uint8_t *getBuffer = reinterpret_cast<uint8_t *>(arrayBuffer->GetBuffer()); 88 | ------ | -------------- | ---- | ------------ | 94 | ------- | ------------------------------- | 101 int lenth = arrayBuffer->ByteLength(vm); [all …]
|
| /arkcompiler/runtime_core/ |
| D | CMakeLists.txt | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 18 # multi-configuration generators (i.e. Visual Studio): 33 # ----- Default flags ---------------------------------------------------------- 39 # ----- Global variables ------------------------------------------------------- 45 set(PANDA_THIRD_PARTY_SOURCES_DIR ${PANDA_ROOT}/ark-third-party) 46 set(PANDA_THIRD_PARTY_CONFIG_DIR ${PANDA_ROOT}/cmake/ark-third-party) 48 # ----- Platform definitions --------------------------------------------------- 53 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -rdynamic") 54 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic") [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | machine_code.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 70 // +-----------------------------------+ 72 // INS_SIZE_OFFSET +-----------------------------------+ 74 // +-----------------------------------+ 76 // +-----------------------------------+ 78 // +-----------------------------------+ 80 // +-----------------------------------+ 82 // +-----------------------------------+ 84 // PAYLOAD_OFFSET/ +-----------------------------------+ 87 // (16 byte align) | machine instructions(text) | instead for non-huge sized machine co… [all …]
|
| /arkcompiler/ets_runtime/ecmascript/deoptimizer/ |
| D | deoptimizer.cpp | 2 * Copyright (c) 2022-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 22 #include "ecmascript/stubs/runtime_stubs-inl.h" 27 explicit FrameWriter(Deoptimizier *deoptimizier) : thread_(deoptimizier->GetThread()) in FrameWriter() 29 JSTaggedType *prevSp = const_cast<JSTaggedType *>(thread_->GetCurrentSPFrame()); in FrameWriter() 35 *(--top_) = value; in PushValue() 40 *(--top_) = value; in PushRawValue() 45 return !thread_->DoStackOverflowCheck(top_ - size); in Reserve() 77 ASSERT(index < static_cast<size_t>(start_ - top_)); in ReviseValueByIndex() 92 JSRuntimeOptions options = thread_->GetEcmaVM()->GetJSOptions(); in Deoptimizier() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | circuit_ir_specification.md | 5 …scribes semantic of programs in a language-neutral and target-neutral way, targeting multi-languag… 9 …hey acted like a [finite state machine](https://en.wikipedia.org/wiki/Finite-state_machine) (FSM))… 11 …will load from or store to the global memory, so they should be executed non-simultaneously and in… 17 …he state transition action of the FSM. Selector gates are affiliated (many-to-one) to `MERGE` stat… 65 …>, b:<JS_STRING>) -> c:<JS_STRING>=JS_ADD(a:<JS_NUMBER>, b:<JS_STRING>)` and `c:<JS_ANY>=VALUE_SEL… 69 …-level instructions (HIR), middle-level instructions (MIR) and low-level instructions (LIR). They … 71 * HIR instructions represent language-related computational process, which usually correspond to th… 72 * MIR instructions are language-independent and target-independent, which are similar to LLVM IR, b… 73 * LIR instructions are target-related, which usually correspond to the machine instructions of targ… 82 * `ARCH` means architecture-related integer type (`INTx` on `x` bits architecture). [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
| D | 2_lexical.rst | 2 Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 http://www.apache.org/licenses/LICENSE-2.0 35 set [1]_ as its terminal symbols. It uses the Unicode UTF-16 encoding to 36 represent text in sequences of 16-bit code units. 40 UTF-16 encoding. Where such representation is irrelevant to the discussion, 61 - :ref:`White Spaces`, 62 - :ref:`Line Separators`, 63 - :ref:`Tokens`, and 64 - :ref:`Comments`. 79 - Space (U+0020), [all …]
|
| D | 21_TS_compatibility.rst | 2 Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 http://www.apache.org/licenses/LICENSE-2.0 15 |LANG|-|TS| compatibility 32 user-defined type names, but are not otherwise restricted. 39 +---------------------------+-----------------------+-----------------------+ 43 +---------------------------+-----------------------+-----------------------+ 45 +---------------------------+-----------------------+-----------------------+ 47 +---------------------------+-----------------------+-----------------------+ 49 +---------------------------+-----------------------+-----------------------+ 51 +---------------------------+-----------------------+-----------------------+ [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | try_catch_blocks_ir.md | 1 # Try-catch blocks IR building 35 /-----------\ 37 \-----------/ 40 /-----------\ 41 | Try-begin |---------->\------------------>\ 42 \-----------/ | | 45 /---------------\ | | 47 \---------------/ | | 50 /-----------\ | | 51 | Try-end |-------------->\------------------>\ [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | frames.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 42 // * Runtime (C++) -> AOTCompiler: 181 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init) 202 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::TypeIndex… in ComputeReservedSize() 222 return reinterpret_cast<OptimizedFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp() 242 // +--------------------------+ --------- 244 // callerSP ---> |--------------------------| | 246 // |--------------------------| BuiltinBuiltinFrame 248 // fp ---> |--------------------------| | 250 // +--------------------------+ --------- [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | heap_space.h | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 39 // --------+ 40 // +------+ +-----------+ +------------+ | 41 // | GC | <----+ | Runtime | ... | Compiler | | 42 // +------+ | +-----------+ | +------------+ | 43 // | | +---+ | | 44 // +-----+ | | +---------+ | Standard flow for object allocation 47 // +-------------------+ | 49 // +-------------------+ --------+ [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
| D | aarch64_memlayout.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 52 * The stack grows downward -- full descending (SP points 56 * possible to write a caller-callee pair in such a way 61 * ||----------------------------| 62 * | args passed on the stack | (we call them up-formals) 63 * ||----------------------------|<- Stack Pointer 69 * ||----------------------------| 71 * ||----------------------------|<- Stack Pointer 73 * ||----------------------------|<- Frame Pointer 77 * ||----------------------------| [all …]
|
| /arkcompiler/ets_frontend/arkguard/src/configs/test262filename/ |
| D | filterFilenameList.json | 28 "language/identifiers/part-unicode-13.0.0-escaped.js", 29 "language/identifiers/start-unicode-13.0.0.js", 30 "language/identifiers/start-unicode-13.0.0-escaped.js", 31 "language/keywords/ident-ref-case.js", 32 "language/keywords/ident-ref-default.js", 33 "language/keywords/ident-ref-else.js", 34 "language/keywords/ident-ref-catch.js", 35 "language/keywords/ident-ref-finally.js", 36 "language/keywords/ident-ref-try.js", 37 "language/line-terminators/S7.3_A6_T1.js", [all …]
|