diff options
author | Robert Fancsik <frobert@inf.u-szeged.hu> | 2019-08-26 17:20:00 +0200 |
---|---|---|
committer | Dániel Bátyai <dbatyai@inf.u-szeged.hu> | 2019-08-26 17:20:00 +0200 |
commit | b47c36ad18225190da807f158c17f5101391b6b1 (patch) | |
tree | b9aa44a20c19b7315785eed2001ddf1118747e53 /jerry-core/ecma/base/ecma-helpers.h | |
parent | 3af0079a0eb4bf149d7e7c5acd3c95dfd049f622 (diff) |
Eliminate ECMA_TRY_CATCH macros part I. (#3006)
Also this patch introduces several helper function to find/put/delete properties by indexed property names to reduce code duplications.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
Diffstat (limited to 'jerry-core/ecma/base/ecma-helpers.h')
-rw-r--r-- | jerry-core/ecma/base/ecma-helpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jerry-core/ecma/base/ecma-helpers.h b/jerry-core/ecma/base/ecma-helpers.h index cc54ede1..38dd65ae 100644 --- a/jerry-core/ecma/base/ecma-helpers.h +++ b/jerry-core/ecma/base/ecma-helpers.h @@ -234,6 +234,7 @@ ecma_string_t *ecma_new_ecma_string_from_code_unit (ecma_char_t code_unit); ecma_string_t *ecma_new_ecma_string_from_code_units (ecma_char_t first_code_unit, ecma_char_t second_code_unit); #endif /* ENABLED (JERRY_ES2015_BUILTIN_ITERATOR) */ ecma_string_t *ecma_new_ecma_string_from_uint32 (uint32_t uint32_number); +ecma_string_t *ecma_new_non_direct_string_from_uint32 (uint32_t uint32_number); ecma_string_t *ecma_get_ecma_string_from_uint32 (uint32_t uint32_number); ecma_string_t *ecma_new_ecma_string_from_number (ecma_number_t num); ecma_string_t *ecma_get_magic_string (lit_magic_string_id_t id); |