From 90789453ba317048d89351ac5225480f0941e2f4 Mon Sep 17 00:00:00 2001 From: Ilmir Usmanov Date: Thu, 16 Oct 2014 18:07:56 +0400 Subject: [PATCH] Fix 'prototype' property. --- src/libecmabuiltins/ecma-builtin-boolean-prototype-object.c | 2 +- src/libecmabuiltins/ecma-builtin-number-prototype-object.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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