diff options
author | Zoltan Herczeg <zherczeg.u-szeged@partner.samsung.com> | 2021-07-06 14:50:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-06 14:50:19 +0200 |
commit | d1204ab1c99391bca4f7ac4fadbd3b44209d4792 (patch) | |
tree | b54ec0e3be6a8cb00e975ed24176b0afaa4bd52a /jerry-core/ecma/base/ecma-globals.h | |
parent | ccc152594aa9735d286723e5585bf342d225e26a (diff) |
Rework resolving references and namespace creation in modules (#4695)
- Properties of namespace objects are ordered in lexical order
- The namespace object is created and imports are bound during linking phase
- Namespace imports are changed to read-only
- Reduced memory consumption
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
Diffstat (limited to 'jerry-core/ecma/base/ecma-globals.h')
-rw-r--r-- | jerry-core/ecma/base/ecma-globals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jerry-core/ecma/base/ecma-globals.h b/jerry-core/ecma/base/ecma-globals.h index 99da6978..99bf1d38 100644 --- a/jerry-core/ecma/base/ecma-globals.h +++ b/jerry-core/ecma/base/ecma-globals.h @@ -1061,7 +1061,7 @@ typedef struct { uint16_t formal_params_number; /**< for arguments: formal parameters number */ #if JERRY_MODULE_SYSTEM - uint8_t module_flags; /**< Module flags */ + uint16_t module_flags; /**< Module flags */ #endif /* JERRY_MODULE_SYSTEM */ #if JERRY_ESNEXT uint16_t iterator_index; /**< for %Iterator%: [[%Iterator%NextIndex]] property */ |