Implementation of Boolean and Boolean.prototype built-in objects.

This commit is contained in:
Ruben Ayrapetyan
2014-10-16 14:45:55 +04:00
parent c231893b28
commit 8a58e0b9d5
4 changed files with 678 additions and 11 deletions
+20 -10
View File
@@ -74,16 +74,21 @@ ecma_builtin_bin_search_for_magic_string_id_in_array (const ecma_magic_string_id
ARRAY_UL, \
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE, \
array_prototype) \
macro (NUMBER_PROTOTYPE, \
TYPE_GENERAL, \
NUMBER_UL, \
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE, \
number_prototype) \
macro (STRING_PROTOTYPE, \
TYPE_GENERAL, \
STRING_UL, \
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE, \
string_prototype) \
macro (BOOLEAN_PROTOTYPE, \
TYPE_GENERAL, \
BOOLEAN_UL, \
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE, \
boolean_prototype) \
macro (NUMBER_PROTOTYPE, \
TYPE_GENERAL, \
NUMBER_UL, \
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE, \
number_prototype) \
macro (OBJECT, \
TYPE_FUNCTION, \
OBJECT_UL, \
@@ -99,16 +104,21 @@ ecma_builtin_bin_search_for_magic_string_id_in_array (const ecma_magic_string_id
FUNCTION_UL, \
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE, \
array) \
macro (NUMBER, \
TYPE_FUNCTION, \
FUNCTION_UL, \
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE, \
number) \
macro (STRING, \
TYPE_FUNCTION, \
FUNCTION_UL, \
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE, \
string) \
macro (BOOLEAN, \
TYPE_FUNCTION, \
FUNCTION_UL, \
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE, \
boolean) \
macro (NUMBER, \
TYPE_FUNCTION, \
FUNCTION_UL, \
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE, \
number) \
macro (FUNCTION, \
TYPE_FUNCTION, \
FUNCTION_UL, \