diff --git a/src/libecmabuiltins/ecma-builtin-boolean-prototype-object.c b/src/libecmabuiltins/ecma-builtin-boolean-prototype-object.c index 5628e4b70..e8b652aa3 100644 --- a/src/libecmabuiltins/ecma-builtin-boolean-prototype-object.c +++ b/src/libecmabuiltins/ecma-builtin-boolean-prototype-object.c @@ -42,7 +42,7 @@ * List of the Boolean.prototype object built-in object value properties in format 'macro (name, value)'. */ #define ECMA_BUILTIN_BOOLEAN_PROTOTYPE_OBJECT_OBJECT_VALUES_PROPERTY_LIST(macro) \ - macro (ECMA_MAGIC_STRING_CONSTRUCTOR, ecma_builtin_get (ECMA_BUILTIN_ID_STRING)) + macro (ECMA_MAGIC_STRING_CONSTRUCTOR, ecma_builtin_get (ECMA_BUILTIN_ID_BOOLEAN)) /** * List of the Boolean.prototype object built-in routine properties in format diff --git a/src/libecmabuiltins/ecma-builtin-number-prototype-object.c b/src/libecmabuiltins/ecma-builtin-number-prototype-object.c index 99a9cc138..429910a38 100644 --- a/src/libecmabuiltins/ecma-builtin-number-prototype-object.c +++ b/src/libecmabuiltins/ecma-builtin-number-prototype-object.c @@ -42,7 +42,7 @@ * List of the Number.prototype object built-in object value properties in format 'macro (name, value)'. */ #define ECMA_BUILTIN_NUMBER_PROTOTYPE_OBJECT_OBJECT_VALUES_PROPERTY_LIST(macro) \ - macro (ECMA_MAGIC_STRING_CONSTRUCTOR, ecma_builtin_get (ECMA_BUILTIN_ID_STRING)) + macro (ECMA_MAGIC_STRING_CONSTRUCTOR, ecma_builtin_get (ECMA_BUILTIN_ID_NUMBER)) /** * List of the Number.prototype object built-in routine properties in format