aboutsummaryrefslogtreecommitdiff
path: root/jerry-core/ecma/operations/ecma-lex-env.c
diff options
context:
space:
mode:
authorZoltan Herczeg <zherczeg.u-szeged@partner.samsung.com>2021-03-10 08:17:20 +0100
committerGitHub <noreply@github.com>2021-03-10 08:17:20 +0100
commit7a2665621bfaedf422652a68eeaad799a9de79ce (patch)
treea3fffac4a610e23ec9b968db6fa5dab42bba8fdd /jerry-core/ecma/operations/ecma-lex-env.c
parentdc3ae4ff06ee811b81b4679e3cd51138a37b4d96 (diff)
Reorganize property descriptor flags (#4622)
Furthermore rename JERRY_PROP_IS_THROW to JERRY_PROP_SHOULD_THROW and add more invalid descriptor checks. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
Diffstat (limited to 'jerry-core/ecma/operations/ecma-lex-env.c')
-rw-r--r--jerry-core/ecma/operations/ecma-lex-env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jerry-core/ecma/operations/ecma-lex-env.c b/jerry-core/ecma/operations/ecma-lex-env.c
index 261f9b5f..b4bb886f 100644
--- a/jerry-core/ecma/operations/ecma-lex-env.c
+++ b/jerry-core/ecma/operations/ecma-lex-env.c
@@ -206,7 +206,7 @@ ecma_op_create_mutable_binding (ecma_object_t *lex_env_p, /**< lexical environme
}
#endif /* JERRY_BUILTIN_PROXY && JERRY_BUILTIN_REALMS */
- const uint32_t flags = ECMA_PROPERTY_ENUMERABLE_WRITABLE | ECMA_IS_THROW;
+ const uint32_t flags = ECMA_PROPERTY_ENUMERABLE_WRITABLE | ECMA_PROP_SHOULD_THROW;
ecma_value_t completion = ecma_builtin_helper_def_prop (binding_obj_p,
name_p,