aboutsummaryrefslogtreecommitdiff
path: root/jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h
diff options
context:
space:
mode:
authorRobert Fancsik <frobert@inf.u-szeged.hu>2017-12-06 18:06:07 +0100
committerDániel Bátyai <dbatyai@inf.u-szeged.hu>2017-12-06 18:06:07 +0100
commite83de3accdfb16a6d2de0b2df649b184d49bda3d (patch)
tree695acc6cd9be210591c90991b70637492feb20eb /jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h
parent1007b6302405ad2d7881fdfd130b01268808d3ee (diff)
Remove ecma_simple_value_t and refactor ecma_make_simple_value (#2135)
This patch removes all ecma_make_simple_value calls to make the code more easy to understand. Also removes the type ecma_simple_value_t which improves the performance in related code paths by calculating the value of new ecma_value_t is no longer needed. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
Diffstat (limited to 'jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h')
-rw-r--r--jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h
index f5b233c7..37a90bb6 100644
--- a/jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h
+++ b/jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h
@@ -24,7 +24,7 @@
/* ECMA-262 v5, 15.1.1.3 */
SIMPLE_VALUE (LIT_MAGIC_STRING_UNDEFINED,
- ECMA_SIMPLE_VALUE_UNDEFINED,
+ ECMA_VALUE_UNDEFINED,
ECMA_PROPERTY_FIXED)
/* Number properties: