Removed 'is_static' parameter from 'BUILTIN' macro, because was never used. (#2216)
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
@@ -73,7 +73,6 @@ typedef struct
|
|||||||
object_type, \
|
object_type, \
|
||||||
object_prototype_builtin_id, \
|
object_prototype_builtin_id, \
|
||||||
is_extensible, \
|
is_extensible, \
|
||||||
is_static, \
|
|
||||||
lowercase_name) \
|
lowercase_name) \
|
||||||
extern const ecma_builtin_property_descriptor_t \
|
extern const ecma_builtin_property_descriptor_t \
|
||||||
ecma_builtin_ ## lowercase_name ## _property_descriptor_list[]; \
|
ecma_builtin_ ## lowercase_name ## _property_descriptor_list[]; \
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ static const ecma_builtin_property_list_reference_t ecma_builtin_property_list_r
|
|||||||
object_type, \
|
object_type, \
|
||||||
object_prototype_builtin_id, \
|
object_prototype_builtin_id, \
|
||||||
is_extensible, \
|
is_extensible, \
|
||||||
is_static, \
|
|
||||||
lowercase_name) \
|
lowercase_name) \
|
||||||
ecma_builtin_ ## lowercase_name ## _property_descriptor_list,
|
ecma_builtin_ ## lowercase_name ## _property_descriptor_list,
|
||||||
#include "ecma-builtins.inc.h"
|
#include "ecma-builtins.inc.h"
|
||||||
@@ -302,7 +301,6 @@ ecma_instantiate_builtin (ecma_builtin_id_t id) /**< built-in id */
|
|||||||
object_type, \
|
object_type, \
|
||||||
object_prototype_builtin_id, \
|
object_prototype_builtin_id, \
|
||||||
is_extensible, \
|
is_extensible, \
|
||||||
is_static, \
|
|
||||||
lowercase_name) \
|
lowercase_name) \
|
||||||
case builtin_id: \
|
case builtin_id: \
|
||||||
{ \
|
{ \
|
||||||
@@ -797,7 +795,6 @@ ecma_builtin_dispatch_routine (ecma_builtin_id_t builtin_object_id, /**< built-i
|
|||||||
object_type, \
|
object_type, \
|
||||||
object_prototype_builtin_id, \
|
object_prototype_builtin_id, \
|
||||||
is_extensible, \
|
is_extensible, \
|
||||||
is_static, \
|
|
||||||
lowercase_name) \
|
lowercase_name) \
|
||||||
case builtin_id: \
|
case builtin_id: \
|
||||||
{ \
|
{ \
|
||||||
@@ -855,7 +852,6 @@ ecma_builtin_dispatch_call (ecma_object_t *obj_p, /**< built-in object */
|
|||||||
object_type, \
|
object_type, \
|
||||||
object_prototype_builtin_id, \
|
object_prototype_builtin_id, \
|
||||||
is_extensible, \
|
is_extensible, \
|
||||||
is_static, \
|
|
||||||
lowercase_name) \
|
lowercase_name) \
|
||||||
case builtin_id: \
|
case builtin_id: \
|
||||||
{ \
|
{ \
|
||||||
@@ -908,7 +904,6 @@ ecma_builtin_dispatch_construct (ecma_object_t *obj_p, /**< built-in object */
|
|||||||
object_type, \
|
object_type, \
|
||||||
object_prototype_builtin_id, \
|
object_prototype_builtin_id, \
|
||||||
is_extensible, \
|
is_extensible, \
|
||||||
is_static, \
|
|
||||||
lowercase_name) \
|
lowercase_name) \
|
||||||
case builtin_id: \
|
case builtin_id: \
|
||||||
{ \
|
{ \
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ typedef enum
|
|||||||
object_type, \
|
object_type, \
|
||||||
object_prototype_builtin_id, \
|
object_prototype_builtin_id, \
|
||||||
is_extensible, \
|
is_extensible, \
|
||||||
is_static, \
|
|
||||||
lowercase_name) \
|
lowercase_name) \
|
||||||
builtin_id,
|
builtin_id,
|
||||||
#include "ecma-builtins.inc.h"
|
#include "ecma-builtins.inc.h"
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ BUILTIN (ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID__COUNT /* no prototype */,
|
ECMA_BUILTIN_ID__COUNT /* no prototype */,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
object_prototype)
|
object_prototype)
|
||||||
|
|
||||||
/* The Object object (15.2.1) */
|
/* The Object object (15.2.1) */
|
||||||
@@ -29,7 +28,6 @@ BUILTIN (ECMA_BUILTIN_ID_OBJECT,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
object)
|
object)
|
||||||
|
|
||||||
#ifndef CONFIG_DISABLE_ARRAY_BUILTIN
|
#ifndef CONFIG_DISABLE_ARRAY_BUILTIN
|
||||||
@@ -38,7 +36,6 @@ BUILTIN (ECMA_BUILTIN_ID_ARRAY_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_ARRAY,
|
ECMA_OBJECT_TYPE_ARRAY,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
array_prototype)
|
array_prototype)
|
||||||
|
|
||||||
/* The Array object (15.4.1) */
|
/* The Array object (15.4.1) */
|
||||||
@@ -46,7 +43,6 @@ BUILTIN (ECMA_BUILTIN_ID_ARRAY,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
array)
|
array)
|
||||||
#endif /* !CONFIG_DISABLE_ARRAY_BUILTIN*/
|
#endif /* !CONFIG_DISABLE_ARRAY_BUILTIN*/
|
||||||
|
|
||||||
@@ -56,7 +52,6 @@ BUILTIN (ECMA_BUILTIN_ID_STRING_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_CLASS,
|
ECMA_OBJECT_TYPE_CLASS,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
string_prototype)
|
string_prototype)
|
||||||
|
|
||||||
/* The String object (15.5.1) */
|
/* The String object (15.5.1) */
|
||||||
@@ -64,7 +59,6 @@ BUILTIN (ECMA_BUILTIN_ID_STRING,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
string)
|
string)
|
||||||
#endif /* !CONFIG_DISABLE_STRING_BUILTIN */
|
#endif /* !CONFIG_DISABLE_STRING_BUILTIN */
|
||||||
|
|
||||||
@@ -74,7 +68,6 @@ BUILTIN (ECMA_BUILTIN_ID_BOOLEAN_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_CLASS,
|
ECMA_OBJECT_TYPE_CLASS,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
boolean_prototype)
|
boolean_prototype)
|
||||||
|
|
||||||
/* The Boolean object (15.6.1) */
|
/* The Boolean object (15.6.1) */
|
||||||
@@ -82,7 +75,6 @@ BUILTIN (ECMA_BUILTIN_ID_BOOLEAN,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
boolean)
|
boolean)
|
||||||
#endif /* !CONFIG_DISABLE_BOOLEAN_BUILTIN */
|
#endif /* !CONFIG_DISABLE_BOOLEAN_BUILTIN */
|
||||||
|
|
||||||
@@ -92,7 +84,6 @@ BUILTIN (ECMA_BUILTIN_ID_NUMBER_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_CLASS,
|
ECMA_OBJECT_TYPE_CLASS,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
number_prototype)
|
number_prototype)
|
||||||
|
|
||||||
/* The Number object (15.7.1) */
|
/* The Number object (15.7.1) */
|
||||||
@@ -100,7 +91,6 @@ BUILTIN (ECMA_BUILTIN_ID_NUMBER,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
number)
|
number)
|
||||||
#endif /* !CONFIG_DISABLE_NUMBER_BUILTIN */
|
#endif /* !CONFIG_DISABLE_NUMBER_BUILTIN */
|
||||||
|
|
||||||
@@ -109,7 +99,6 @@ BUILTIN (ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
function_prototype)
|
function_prototype)
|
||||||
|
|
||||||
/* The Function object (15.3.1) */
|
/* The Function object (15.3.1) */
|
||||||
@@ -117,7 +106,6 @@ BUILTIN (ECMA_BUILTIN_ID_FUNCTION,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
function)
|
function)
|
||||||
|
|
||||||
#ifndef CONFIG_DISABLE_MATH_BUILTIN
|
#ifndef CONFIG_DISABLE_MATH_BUILTIN
|
||||||
@@ -126,7 +114,6 @@ BUILTIN (ECMA_BUILTIN_ID_MATH,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
math)
|
math)
|
||||||
#endif /* !CONFIG_DISABLE_MATH_BUILTIN */
|
#endif /* !CONFIG_DISABLE_MATH_BUILTIN */
|
||||||
|
|
||||||
@@ -136,7 +123,6 @@ BUILTIN (ECMA_BUILTIN_ID_JSON,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
json)
|
json)
|
||||||
#endif /* !CONFIG_DISABLE_JSON_BUILTIN */
|
#endif /* !CONFIG_DISABLE_JSON_BUILTIN */
|
||||||
|
|
||||||
@@ -146,7 +132,6 @@ BUILTIN (ECMA_BUILTIN_ID_DATE_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_CLASS,
|
ECMA_OBJECT_TYPE_CLASS,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
date_prototype)
|
date_prototype)
|
||||||
|
|
||||||
/* The Date object (15.9.3) */
|
/* The Date object (15.9.3) */
|
||||||
@@ -154,7 +139,6 @@ BUILTIN (ECMA_BUILTIN_ID_DATE,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
date)
|
date)
|
||||||
#endif /* !CONFIG_DISABLE_DATE_BUILTIN */
|
#endif /* !CONFIG_DISABLE_DATE_BUILTIN */
|
||||||
|
|
||||||
@@ -164,7 +148,6 @@ BUILTIN (ECMA_BUILTIN_ID_REGEXP_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_CLASS,
|
ECMA_OBJECT_TYPE_CLASS,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
regexp_prototype)
|
regexp_prototype)
|
||||||
|
|
||||||
/* The RegExp object (15.10) */
|
/* The RegExp object (15.10) */
|
||||||
@@ -172,7 +155,6 @@ BUILTIN (ECMA_BUILTIN_ID_REGEXP,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
regexp)
|
regexp)
|
||||||
#endif /* !CONFIG_DISABLE_REGEXP_BUILTIN */
|
#endif /* !CONFIG_DISABLE_REGEXP_BUILTIN */
|
||||||
|
|
||||||
@@ -181,7 +163,6 @@ BUILTIN (ECMA_BUILTIN_ID_ERROR,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
error)
|
error)
|
||||||
|
|
||||||
/* The Error.prototype object (15.11.4) */
|
/* The Error.prototype object (15.11.4) */
|
||||||
@@ -189,7 +170,6 @@ BUILTIN (ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
error_prototype)
|
error_prototype)
|
||||||
|
|
||||||
#ifndef CONFIG_DISABLE_ERROR_BUILTINS
|
#ifndef CONFIG_DISABLE_ERROR_BUILTINS
|
||||||
@@ -198,7 +178,6 @@ BUILTIN (ECMA_BUILTIN_ID_EVAL_ERROR_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
eval_error_prototype)
|
eval_error_prototype)
|
||||||
|
|
||||||
/* The EvalError object (15.11.6.1) */
|
/* The EvalError object (15.11.6.1) */
|
||||||
@@ -206,7 +185,6 @@ BUILTIN (ECMA_BUILTIN_ID_EVAL_ERROR,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
eval_error)
|
eval_error)
|
||||||
|
|
||||||
/* The RangeError.prototype object (15.11.6.2) */
|
/* The RangeError.prototype object (15.11.6.2) */
|
||||||
@@ -214,7 +192,6 @@ BUILTIN (ECMA_BUILTIN_ID_RANGE_ERROR_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
range_error_prototype)
|
range_error_prototype)
|
||||||
|
|
||||||
/* The RangeError object (15.11.6.2) */
|
/* The RangeError object (15.11.6.2) */
|
||||||
@@ -222,7 +199,6 @@ BUILTIN (ECMA_BUILTIN_ID_RANGE_ERROR,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
range_error)
|
range_error)
|
||||||
|
|
||||||
/* The ReferenceError.prototype object (15.11.6.3) */
|
/* The ReferenceError.prototype object (15.11.6.3) */
|
||||||
@@ -230,7 +206,6 @@ BUILTIN (ECMA_BUILTIN_ID_REFERENCE_ERROR_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
reference_error_prototype)
|
reference_error_prototype)
|
||||||
|
|
||||||
/* The ReferenceError object (15.11.6.3) */
|
/* The ReferenceError object (15.11.6.3) */
|
||||||
@@ -238,7 +213,6 @@ BUILTIN (ECMA_BUILTIN_ID_REFERENCE_ERROR,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
reference_error)
|
reference_error)
|
||||||
|
|
||||||
/* The SyntaxError.prototype object (15.11.6.4) */
|
/* The SyntaxError.prototype object (15.11.6.4) */
|
||||||
@@ -246,7 +220,6 @@ BUILTIN (ECMA_BUILTIN_ID_SYNTAX_ERROR_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
syntax_error_prototype)
|
syntax_error_prototype)
|
||||||
|
|
||||||
/* The SyntaxError object (15.11.6.4) */
|
/* The SyntaxError object (15.11.6.4) */
|
||||||
@@ -254,7 +227,6 @@ BUILTIN (ECMA_BUILTIN_ID_SYNTAX_ERROR,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
syntax_error)
|
syntax_error)
|
||||||
|
|
||||||
/* The TypeError.prototype object (15.11.6.5) */
|
/* The TypeError.prototype object (15.11.6.5) */
|
||||||
@@ -262,7 +234,6 @@ BUILTIN (ECMA_BUILTIN_ID_TYPE_ERROR_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
type_error_prototype)
|
type_error_prototype)
|
||||||
|
|
||||||
/* The TypeError object (15.11.6.5) */
|
/* The TypeError object (15.11.6.5) */
|
||||||
@@ -270,7 +241,6 @@ BUILTIN (ECMA_BUILTIN_ID_TYPE_ERROR,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
type_error)
|
type_error)
|
||||||
|
|
||||||
/* The URIError.prototype object (15.11.6.6) */
|
/* The URIError.prototype object (15.11.6.6) */
|
||||||
@@ -278,7 +248,6 @@ BUILTIN (ECMA_BUILTIN_ID_URI_ERROR_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
uri_error_prototype)
|
uri_error_prototype)
|
||||||
|
|
||||||
/* The URIError object (15.11.6.6) */
|
/* The URIError object (15.11.6.6) */
|
||||||
@@ -286,7 +255,6 @@ BUILTIN (ECMA_BUILTIN_ID_URI_ERROR,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
uri_error)
|
uri_error)
|
||||||
#endif /* !CONFIG_DISABLE_ERROR_BUILTINS */
|
#endif /* !CONFIG_DISABLE_ERROR_BUILTINS */
|
||||||
|
|
||||||
@@ -295,7 +263,6 @@ BUILTIN (ECMA_BUILTIN_ID_TYPE_ERROR_THROWER,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
false,
|
false,
|
||||||
true,
|
|
||||||
type_error_thrower)
|
type_error_thrower)
|
||||||
|
|
||||||
#ifndef CONFIG_DISABLE_ES2015_TYPEDARRAY_BUILTIN
|
#ifndef CONFIG_DISABLE_ES2015_TYPEDARRAY_BUILTIN
|
||||||
@@ -305,7 +272,6 @@ BUILTIN (ECMA_BUILTIN_ID_ARRAYBUFFER_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
arraybuffer_prototype)
|
arraybuffer_prototype)
|
||||||
|
|
||||||
/* The ArrayBuffer object (ES2015 24.1.2) */
|
/* The ArrayBuffer object (ES2015 24.1.2) */
|
||||||
@@ -313,7 +279,6 @@ BUILTIN (ECMA_BUILTIN_ID_ARRAYBUFFER,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
arraybuffer)
|
arraybuffer)
|
||||||
|
|
||||||
/* The %TypedArrayPrototype% object (ES2015 24.2.3) */
|
/* The %TypedArrayPrototype% object (ES2015 24.2.3) */
|
||||||
@@ -321,7 +286,6 @@ BUILTIN (ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
typedarray_prototype)
|
typedarray_prototype)
|
||||||
|
|
||||||
/* The %TypedArray% intrinsic object (ES2015 22.2.1) */
|
/* The %TypedArray% intrinsic object (ES2015 22.2.1) */
|
||||||
@@ -329,105 +293,90 @@ BUILTIN (ECMA_BUILTIN_ID_TYPEDARRAY,
|
|||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
typedarray)
|
typedarray)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_INT8ARRAY_PROTOTYPE,
|
BUILTIN (ECMA_BUILTIN_ID_INT8ARRAY_PROTOTYPE,
|
||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
int8array_prototype)
|
int8array_prototype)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_INT8ARRAY,
|
BUILTIN (ECMA_BUILTIN_ID_INT8ARRAY,
|
||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY,
|
ECMA_BUILTIN_ID_TYPEDARRAY,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
int8array)
|
int8array)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_UINT8ARRAY_PROTOTYPE,
|
BUILTIN (ECMA_BUILTIN_ID_UINT8ARRAY_PROTOTYPE,
|
||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
uint8array_prototype)
|
uint8array_prototype)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_UINT8ARRAY,
|
BUILTIN (ECMA_BUILTIN_ID_UINT8ARRAY,
|
||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY,
|
ECMA_BUILTIN_ID_TYPEDARRAY,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
uint8array)
|
uint8array)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_INT16ARRAY_PROTOTYPE,
|
BUILTIN (ECMA_BUILTIN_ID_INT16ARRAY_PROTOTYPE,
|
||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
int16array_prototype)
|
int16array_prototype)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_INT16ARRAY,
|
BUILTIN (ECMA_BUILTIN_ID_INT16ARRAY,
|
||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY,
|
ECMA_BUILTIN_ID_TYPEDARRAY,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
int16array)
|
int16array)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_UINT16ARRAY_PROTOTYPE,
|
BUILTIN (ECMA_BUILTIN_ID_UINT16ARRAY_PROTOTYPE,
|
||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
uint16array_prototype)
|
uint16array_prototype)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_UINT16ARRAY,
|
BUILTIN (ECMA_BUILTIN_ID_UINT16ARRAY,
|
||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY,
|
ECMA_BUILTIN_ID_TYPEDARRAY,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
uint16array)
|
uint16array)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_INT32ARRAY_PROTOTYPE,
|
BUILTIN (ECMA_BUILTIN_ID_INT32ARRAY_PROTOTYPE,
|
||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
int32array_prototype)
|
int32array_prototype)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_INT32ARRAY,
|
BUILTIN (ECMA_BUILTIN_ID_INT32ARRAY,
|
||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY,
|
ECMA_BUILTIN_ID_TYPEDARRAY,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
int32array)
|
int32array)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_UINT32ARRAY_PROTOTYPE,
|
BUILTIN (ECMA_BUILTIN_ID_UINT32ARRAY_PROTOTYPE,
|
||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
uint32array_prototype)
|
uint32array_prototype)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_UINT32ARRAY,
|
BUILTIN (ECMA_BUILTIN_ID_UINT32ARRAY,
|
||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY,
|
ECMA_BUILTIN_ID_TYPEDARRAY,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
uint32array)
|
uint32array)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_FLOAT32ARRAY_PROTOTYPE,
|
BUILTIN (ECMA_BUILTIN_ID_FLOAT32ARRAY_PROTOTYPE,
|
||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
float32array_prototype)
|
float32array_prototype)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_FLOAT32ARRAY,
|
BUILTIN (ECMA_BUILTIN_ID_FLOAT32ARRAY,
|
||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY,
|
ECMA_BUILTIN_ID_TYPEDARRAY,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
float32array)
|
float32array)
|
||||||
|
|
||||||
#if CONFIG_ECMA_NUMBER_TYPE == CONFIG_ECMA_NUMBER_FLOAT64
|
#if CONFIG_ECMA_NUMBER_TYPE == CONFIG_ECMA_NUMBER_FLOAT64
|
||||||
@@ -435,14 +384,12 @@ BUILTIN (ECMA_BUILTIN_ID_FLOAT64ARRAY_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
float64array_prototype)
|
float64array_prototype)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_FLOAT64ARRAY,
|
BUILTIN (ECMA_BUILTIN_ID_FLOAT64ARRAY,
|
||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY,
|
ECMA_BUILTIN_ID_TYPEDARRAY,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
float64array)
|
float64array)
|
||||||
#endif /* CONFIG_ECMA_NUMBER_TYPE == CONFIG_ECMA_NUMBER_FLOAT64 */
|
#endif /* CONFIG_ECMA_NUMBER_TYPE == CONFIG_ECMA_NUMBER_FLOAT64 */
|
||||||
|
|
||||||
@@ -450,14 +397,12 @@ BUILTIN (ECMA_BUILTIN_ID_UINT8CLAMPEDARRAY_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
uint8clampedarray_prototype)
|
uint8clampedarray_prototype)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_UINT8CLAMPEDARRAY,
|
BUILTIN (ECMA_BUILTIN_ID_UINT8CLAMPEDARRAY,
|
||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_TYPEDARRAY,
|
ECMA_BUILTIN_ID_TYPEDARRAY,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
uint8clampedarray)
|
uint8clampedarray)
|
||||||
|
|
||||||
#endif /* !CONFIG_DISABLE_ES2015_TYPEDARRAY_BUILTIN */
|
#endif /* !CONFIG_DISABLE_ES2015_TYPEDARRAY_BUILTIN */
|
||||||
@@ -468,14 +413,12 @@ BUILTIN (ECMA_BUILTIN_ID_PROMISE_PROTOTYPE,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
promise_prototype)
|
promise_prototype)
|
||||||
|
|
||||||
BUILTIN (ECMA_BUILTIN_ID_PROMISE,
|
BUILTIN (ECMA_BUILTIN_ID_PROMISE,
|
||||||
ECMA_OBJECT_TYPE_FUNCTION,
|
ECMA_OBJECT_TYPE_FUNCTION,
|
||||||
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE,
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
promise)
|
promise)
|
||||||
|
|
||||||
#endif /* !CONFIG_DISABLE_ES2015_PROMISE_BUILTIN */
|
#endif /* !CONFIG_DISABLE_ES2015_PROMISE_BUILTIN */
|
||||||
@@ -485,7 +428,6 @@ BUILTIN (ECMA_BUILTIN_ID_GLOBAL,
|
|||||||
ECMA_OBJECT_TYPE_GENERAL,
|
ECMA_OBJECT_TYPE_GENERAL,
|
||||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE, /* Implementation-dependent */
|
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE, /* Implementation-dependent */
|
||||||
true,
|
true,
|
||||||
true,
|
|
||||||
global)
|
global)
|
||||||
|
|
||||||
#undef BUILTIN
|
#undef BUILTIN
|
||||||
|
|||||||
Reference in New Issue
Block a user