Remove 'OBJECT_ID' from builtin headers. (#1529)

After 378d7f7 it is not used in the codebase and can be eliminated.

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
László Langó
2017-01-17 08:58:46 +01:00
committed by Tilmann Scheller
parent 4b5cf8ad26
commit 471ad284f6
40 changed files with 0 additions and 362 deletions
@@ -16,11 +16,6 @@
/* /*
* Array.prototype built-in description * Array.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -33,9 +28,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_ARRAY_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -76,7 +68,6 @@ ROUTINE (LIT_MAGIC_STRING_FILTER, ecma_builtin_array_prototype_object_filter, 2,
ROUTINE (LIT_MAGIC_STRING_REDUCE, ecma_builtin_array_prototype_object_reduce, NON_FIXED, 1) ROUTINE (LIT_MAGIC_STRING_REDUCE, ecma_builtin_array_prototype_object_reduce, NON_FIXED, 1)
ROUTINE (LIT_MAGIC_STRING_REDUCE_RIGHT_UL, ecma_builtin_array_prototype_object_reduce_right, NON_FIXED, 1) ROUTINE (LIT_MAGIC_STRING_REDUCE_RIGHT_UL, ecma_builtin_array_prototype_object_reduce_right, NON_FIXED, 1)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Array description * Array description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -33,9 +28,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_ARRAY)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -56,7 +48,6 @@ NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH,
* (property name, C routine name, arguments number or NON_FIXED, value of the routine's length property) */ * (property name, C routine name, arguments number or NON_FIXED, value of the routine's length property) */
ROUTINE (LIT_MAGIC_STRING_IS_ARRAY_UL, ecma_builtin_array_object_is_array, 1, 1) ROUTINE (LIT_MAGIC_STRING_IS_ARRAY_UL, ecma_builtin_array_object_is_array, 1, 1)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -12,11 +12,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -37,9 +32,6 @@
# define ACCESSOR_READ_ONLY(name, c_getter_func_name, prop_attributes) # define ACCESSOR_READ_ONLY(name, c_getter_func_name, prop_attributes)
#endif /* !ACCESSOR_READ_ONLY */ #endif /* !ACCESSOR_READ_ONLY */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_ARRAYBUFFER_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -56,7 +48,6 @@ ACCESSOR_READ_ONLY (LIT_MAGIC_STRING_BYTE_LENGTH_UL,
* (property name, C routine name, arguments number or NON_FIXED, value of the routine's length property) */ * (property name, C routine name, arguments number or NON_FIXED, value of the routine's length property) */
ROUTINE (LIT_MAGIC_STRING_SLICE, ecma_builtin_arraybuffer_prototype_object_slice, 2, 2) ROUTINE (LIT_MAGIC_STRING_SLICE, ecma_builtin_arraybuffer_prototype_object_slice, 2, 2)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* ArrayBuffer built-in description * ArrayBuffer built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -33,9 +28,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_ARRAYBUFFER)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -56,7 +48,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
/* ES2015 24.1.3.1 */ /* ES2015 24.1.3.1 */
ROUTINE (LIT_MAGIC_STRING_IS_VIEW_UL, ecma_builtin_arraybuffer_object_is_view, 1, 1) ROUTINE (LIT_MAGIC_STRING_IS_VIEW_UL, ecma_builtin_arraybuffer_object_is_view, 1, 1)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Boolean.prototype description * Boolean.prototype description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -29,9 +24,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_BOOLEAN_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -45,7 +37,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR,
ROUTINE (LIT_MAGIC_STRING_TO_STRING_UL, ecma_builtin_boolean_prototype_object_to_string, 0, 0) ROUTINE (LIT_MAGIC_STRING_TO_STRING_UL, ecma_builtin_boolean_prototype_object_to_string, 0, 0)
ROUTINE (LIT_MAGIC_STRING_VALUE_OF_UL, ecma_builtin_boolean_prototype_object_value_of, 0, 0) ROUTINE (LIT_MAGIC_STRING_VALUE_OF_UL, ecma_builtin_boolean_prototype_object_value_of, 0, 0)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Boolean description * Boolean description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -33,9 +28,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_BOOLEAN)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -52,7 +44,6 @@ NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH,
1, 1,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Date.prototype built-in description * Date.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -29,9 +24,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_DATE_PROTOTYPE)
OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR, OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR,
ECMA_BUILTIN_ID_DATE, ECMA_BUILTIN_ID_DATE,
ECMA_PROPERTY_CONFIGURABLE_WRITABLE) ECMA_PROPERTY_CONFIGURABLE_WRITABLE)
@@ -88,7 +80,6 @@ ROUTINE (LIT_MAGIC_STRING_TO_GMT_STRING_UL, ECMA_DATE_PROTOTYPE_TO_UTC_STRING, 0
#endif /* !CONFIG_DISABLE_ANNEXB_BUILTIN */ #endif /* !CONFIG_DISABLE_ANNEXB_BUILTIN */
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Date built-in description * Date built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -33,9 +28,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_DATE)
/* ECMA-262 v5, 15.9.4.1 */ /* ECMA-262 v5, 15.9.4.1 */
OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
ECMA_BUILTIN_ID_DATE_PROTOTYPE, ECMA_BUILTIN_ID_DATE_PROTOTYPE,
@@ -49,7 +41,6 @@ ROUTINE (LIT_MAGIC_STRING_PARSE, ecma_builtin_date_parse, 1, 1)
ROUTINE (LIT_MAGIC_STRING_UTC_U, ecma_builtin_date_utc, NON_FIXED, 7) ROUTINE (LIT_MAGIC_STRING_UTC_U, ecma_builtin_date_utc, NON_FIXED, 7)
ROUTINE (LIT_MAGIC_STRING_NOW, ecma_builtin_date_now, 0, 0) ROUTINE (LIT_MAGIC_STRING_NOW, ecma_builtin_date_now, 0, 0)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Error.prototype built-in description * Error.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef STRING_VALUE #ifndef STRING_VALUE
# define STRING_VALUE(name, magic_string_id, prop_attributes) # define STRING_VALUE(name, magic_string_id, prop_attributes)
#endif /* !STRING_VALUE */ #endif /* !STRING_VALUE */
@@ -33,9 +28,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_ERROR_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -58,7 +50,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE,
* (property name, C routine name, arguments number or NON_FIXED, value of the routine's length property) */ * (property name, C routine name, arguments number or NON_FIXED, value of the routine's length property) */
ROUTINE (LIT_MAGIC_STRING_TO_STRING_UL, ecma_builtin_error_prototype_object_to_string, 0, 0) ROUTINE (LIT_MAGIC_STRING_TO_STRING_UL, ecma_builtin_error_prototype_object_to_string, 0, 0)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Error built-in description * Error built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -33,9 +28,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_ERROR)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
ECMA_BUILTIN_ID_ERROR_PROTOTYPE, ECMA_BUILTIN_ID_ERROR_PROTOTYPE,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* EvalError.prototype built-in description * EvalError.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef STRING_VALUE #ifndef STRING_VALUE
# define STRING_VALUE(name, magic_string_id, prop_attributes) # define STRING_VALUE(name, magic_string_id, prop_attributes)
#endif /* !STRING_VALUE */ #endif /* !STRING_VALUE */
@@ -29,9 +24,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_EVAL_ERROR_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE,
LIT_MAGIC_STRING__EMPTY, LIT_MAGIC_STRING__EMPTY,
ECMA_PROPERTY_CONFIGURABLE_WRITABLE) ECMA_PROPERTY_CONFIGURABLE_WRITABLE)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* EvalError built-in description * EvalError built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -33,9 +28,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_EVAL_ERROR)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
ECMA_BUILTIN_ID_EVAL_ERROR_PROTOTYPE, ECMA_BUILTIN_ID_EVAL_ERROR_PROTOTYPE,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Function.prototype built-in description * Function.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -33,9 +28,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -59,7 +51,6 @@ ROUTINE (LIT_MAGIC_STRING_APPLY, ecma_builtin_function_prototype_object_apply, 2
ROUTINE (LIT_MAGIC_STRING_CALL, ecma_builtin_function_prototype_object_call, NON_FIXED, 1) ROUTINE (LIT_MAGIC_STRING_CALL, ecma_builtin_function_prototype_object_call, NON_FIXED, 1)
ROUTINE (LIT_MAGIC_STRING_BIND, ecma_builtin_function_prototype_object_bind, NON_FIXED, 1) ROUTINE (LIT_MAGIC_STRING_BIND, ecma_builtin_function_prototype_object_bind, NON_FIXED, 1)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Function built-in description * Function built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -33,9 +28,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_FUNCTION)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -52,7 +44,6 @@ NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH,
1, 1,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Global built-in description * Global built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef SIMPLE_VALUE #ifndef SIMPLE_VALUE
# define SIMPLE_VALUE(name, simple_value, prop_attributes) # define SIMPLE_VALUE(name, simple_value, prop_attributes)
#endif /* !SIMPLE_VALUE */ #endif /* !SIMPLE_VALUE */
@@ -37,9 +32,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_GLOBAL)
/* Simple value properties: /* Simple value properties:
* (property name, simple value, writable, enumerable, configurable) */ * (property name, simple value, writable, enumerable, configurable) */
@@ -200,7 +192,6 @@ ROUTINE (LIT_MAGIC_STRING_ESCAPE, ecma_builtin_global_object_escape, 1, 1)
ROUTINE (LIT_MAGIC_STRING_UNESCAPE, ecma_builtin_global_object_unescape, 1, 1) ROUTINE (LIT_MAGIC_STRING_UNESCAPE, ecma_builtin_global_object_unescape, 1, 1)
#endif /* !CONFIG_DISABLE_ANNEXB_BUILTIN */ #endif /* !CONFIG_DISABLE_ANNEXB_BUILTIN */
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Int8Array prototype description * Int8Array prototype description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -37,9 +32,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_INT8ARRAY_PROTOTYPE)
/* ES2015 22.2.3.4 */ /* ES2015 22.2.3.4 */
OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR, OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR,
ECMA_BUILTIN_ID_INT8ARRAY, ECMA_BUILTIN_ID_INT8ARRAY,
@@ -50,7 +42,6 @@ NUMBER_VALUE (LIT_MAGIC_STRING_BYTES_PER_ELEMENT_U,
1, 1,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Int8Array description * Int8Array description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -37,10 +32,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_INT8ARRAY)
/* ES2015 22.2.5 */ /* ES2015 22.2.5 */
NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH, NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH,
3, 3,
@@ -66,7 +57,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
ECMA_BUILTIN_ID_INT8ARRAY_PROTOTYPE, ECMA_BUILTIN_ID_INT8ARRAY_PROTOTYPE,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* JSON built-in description * JSON built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef SIMPLE_VALUE #ifndef SIMPLE_VALUE
# define SIMPLE_VALUE(name, simple_value, prop_attributes) # define SIMPLE_VALUE(name, simple_value, prop_attributes)
#endif /* !SIMPLE_VALUE */ #endif /* !SIMPLE_VALUE */
@@ -37,15 +32,11 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_JSON)
/* Routine properties: /* Routine properties:
* (property name, C routine name, arguments number or NON_FIXED, value of the routine's length property) */ * (property name, C routine name, arguments number or NON_FIXED, value of the routine's length property) */
ROUTINE (LIT_MAGIC_STRING_PARSE, ecma_builtin_json_parse, 2, 2) ROUTINE (LIT_MAGIC_STRING_PARSE, ecma_builtin_json_parse, 2, 2)
ROUTINE (LIT_MAGIC_STRING_STRINGIFY, ecma_builtin_json_stringify, 3, 3) ROUTINE (LIT_MAGIC_STRING_STRINGIFY, ecma_builtin_json_stringify, 3, 3)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Math built-in description * Math built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef SIMPLE_VALUE #ifndef SIMPLE_VALUE
# define SIMPLE_VALUE(name, simple_value, prop_attributes) # define SIMPLE_VALUE(name, simple_value, prop_attributes)
#endif /* !SIMPLE_VALUE */ #endif /* !SIMPLE_VALUE */
@@ -37,9 +32,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_MATH)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -104,7 +96,6 @@ ROUTINE (LIT_MAGIC_STRING_SIN, ECMA_MATH_OBJECT_SIN, 1, 1)
ROUTINE (LIT_MAGIC_STRING_SQRT, ECMA_MATH_OBJECT_SQRT, 1, 1) ROUTINE (LIT_MAGIC_STRING_SQRT, ECMA_MATH_OBJECT_SQRT, 1, 1)
ROUTINE (LIT_MAGIC_STRING_TAN, ECMA_MATH_OBJECT_TAN, 1, 1) ROUTINE (LIT_MAGIC_STRING_TAN, ECMA_MATH_OBJECT_TAN, 1, 1)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Number.prototype built-in description * Number.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -29,9 +24,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_NUMBER_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -49,7 +41,6 @@ ROUTINE (LIT_MAGIC_STRING_TO_FIXED_UL, ecma_builtin_number_prototype_object_to_f
ROUTINE (LIT_MAGIC_STRING_TO_EXPONENTIAL_UL, ecma_builtin_number_prototype_object_to_exponential, 1, 1) ROUTINE (LIT_MAGIC_STRING_TO_EXPONENTIAL_UL, ecma_builtin_number_prototype_object_to_exponential, 1, 1)
ROUTINE (LIT_MAGIC_STRING_TO_PRECISION_UL, ecma_builtin_number_prototype_object_to_precision, 1, 1) ROUTINE (LIT_MAGIC_STRING_TO_PRECISION_UL, ecma_builtin_number_prototype_object_to_precision, 1, 1)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Number built-in description * Number built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -29,9 +24,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_NUMBER)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -73,7 +65,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
ECMA_BUILTIN_ID_NUMBER_PROTOTYPE, ECMA_BUILTIN_ID_NUMBER_PROTOTYPE,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Object.prototype built-in description * Object.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -29,9 +24,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_OBJECT_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -49,7 +41,6 @@ ROUTINE (LIT_MAGIC_STRING_HAS_OWN_PROPERTY_UL, ecma_builtin_object_prototype_obj
ROUTINE (LIT_MAGIC_STRING_IS_PROTOTYPE_OF_UL, ecma_builtin_object_prototype_object_is_prototype_of, 1, 1) ROUTINE (LIT_MAGIC_STRING_IS_PROTOTYPE_OF_UL, ecma_builtin_object_prototype_object_is_prototype_of, 1, 1)
ROUTINE (LIT_MAGIC_STRING_PROPERTY_IS_ENUMERABLE_UL, ecma_builtin_object_prototype_object_property_is_enumerable, 1, 1) ROUTINE (LIT_MAGIC_STRING_PROPERTY_IS_ENUMERABLE_UL, ecma_builtin_object_prototype_object_property_is_enumerable, 1, 1)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* Object built-in description * Object built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -33,9 +28,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_OBJECT)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -68,7 +60,6 @@ ROUTINE (LIT_MAGIC_STRING_CREATE, ecma_builtin_object_object_create, 2, 2)
ROUTINE (LIT_MAGIC_STRING_DEFINE_PROPERTIES_UL, ecma_builtin_object_object_define_properties, 2, 2) ROUTINE (LIT_MAGIC_STRING_DEFINE_PROPERTIES_UL, ecma_builtin_object_object_define_properties, 2, 2)
ROUTINE (LIT_MAGIC_STRING_DEFINE_PROPERTY_UL, ecma_builtin_object_object_define_property, 3, 3) ROUTINE (LIT_MAGIC_STRING_DEFINE_PROPERTY_UL, ecma_builtin_object_object_define_property, 3, 3)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* RangeError.prototype built-in description * RangeError.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef STRING_VALUE #ifndef STRING_VALUE
# define STRING_VALUE(name, magic_string_id, prop_attributes) # define STRING_VALUE(name, magic_string_id, prop_attributes)
#endif /* !STRING_VALUE */ #endif /* !STRING_VALUE */
@@ -29,9 +24,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_RANGE_ERROR_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE,
LIT_MAGIC_STRING__EMPTY, LIT_MAGIC_STRING__EMPTY,
ECMA_PROPERTY_CONFIGURABLE_WRITABLE) ECMA_PROPERTY_CONFIGURABLE_WRITABLE)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* RangeError built-in description * RangeError built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -33,9 +28,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_RANGE_ERROR)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
ECMA_BUILTIN_ID_RANGE_ERROR_PROTOTYPE, ECMA_BUILTIN_ID_RANGE_ERROR_PROTOTYPE,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* ReferenceError.prototype built-in description * ReferenceError.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef STRING_VALUE #ifndef STRING_VALUE
# define STRING_VALUE(name, magic_string_id, prop_attributes) # define STRING_VALUE(name, magic_string_id, prop_attributes)
#endif /* !STRING_VALUE */ #endif /* !STRING_VALUE */
@@ -29,9 +24,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_REFERENCE_ERROR_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE,
LIT_MAGIC_STRING__EMPTY, LIT_MAGIC_STRING__EMPTY,
ECMA_PROPERTY_CONFIGURABLE_WRITABLE) ECMA_PROPERTY_CONFIGURABLE_WRITABLE)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* ReferenceError built-in description * ReferenceError built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -33,9 +28,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_REFERENCE_ERROR)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
ECMA_BUILTIN_ID_REFERENCE_ERROR_PROTOTYPE, ECMA_BUILTIN_ID_REFERENCE_ERROR_PROTOTYPE,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* RegExp.prototype built-in description * RegExp.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -41,9 +36,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_REGEXP_PROTOTYPE)
/* ECMA-262 v5, 15.10.6.1 */ /* ECMA-262 v5, 15.10.6.1 */
OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR, OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR,
ECMA_BUILTIN_ID_REGEXP, ECMA_BUILTIN_ID_REGEXP,
@@ -81,7 +73,6 @@ ROUTINE (LIT_MAGIC_STRING_EXEC, ecma_builtin_regexp_prototype_exec, 1, 1)
ROUTINE (LIT_MAGIC_STRING_TEST, ecma_builtin_regexp_prototype_test, 1, 1) ROUTINE (LIT_MAGIC_STRING_TEST, ecma_builtin_regexp_prototype_test, 1, 1)
ROUTINE (LIT_MAGIC_STRING_TO_STRING_UL, ecma_builtin_regexp_prototype_to_string, 0, 0) ROUTINE (LIT_MAGIC_STRING_TO_STRING_UL, ecma_builtin_regexp_prototype_to_string, 0, 0)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* RegExp built-in description * RegExp built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -29,9 +24,6 @@
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_REGEXP)
/* ECMA-262 v5, 15.10.5 */ /* ECMA-262 v5, 15.10.5 */
NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH, NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH,
2, 2,
@@ -42,7 +34,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
ECMA_BUILTIN_ID_REGEXP_PROTOTYPE, ECMA_BUILTIN_ID_REGEXP_PROTOTYPE,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* String.prototype built-in description * String.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef OBJECT_VALUE #ifndef OBJECT_VALUE
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
@@ -33,9 +28,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_STRING_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -82,7 +74,6 @@ ROUTINE (LIT_MAGIC_STRING_TRIM, ecma_builtin_string_prototype_object_trim, 0, 0)
ROUTINE (LIT_MAGIC_STRING_SUBSTR, ecma_builtin_string_prototype_object_substr, 2, 2) ROUTINE (LIT_MAGIC_STRING_SUBSTR, ecma_builtin_string_prototype_object_substr, 2, 2)
#endif /* !CONFIG_DISABLE_ANNEXB_BUILTIN */ #endif /* !CONFIG_DISABLE_ANNEXB_BUILTIN */
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* String built-in description * String built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -33,9 +28,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_STRING)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -56,7 +48,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
* (property name, C routine name, arguments number or NON_FIXED, value of the routine's length property) */ * (property name, C routine name, arguments number or NON_FIXED, value of the routine's length property) */
ROUTINE (LIT_MAGIC_STRING_FROM_CHAR_CODE_UL, ecma_builtin_string_object_from_char_code, NON_FIXED, 1) ROUTINE (LIT_MAGIC_STRING_FROM_CHAR_CODE_UL, ecma_builtin_string_object_from_char_code, NON_FIXED, 1)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* SyntaxError.prototype built-in description * SyntaxError.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef STRING_VALUE #ifndef STRING_VALUE
# define STRING_VALUE(name, magic_string_id, prop_attributes) # define STRING_VALUE(name, magic_string_id, prop_attributes)
#endif /* !STRING_VALUE */ #endif /* !STRING_VALUE */
@@ -29,9 +24,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_SYNTAX_ERROR_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE,
LIT_MAGIC_STRING__EMPTY, LIT_MAGIC_STRING__EMPTY,
ECMA_PROPERTY_CONFIGURABLE_WRITABLE) ECMA_PROPERTY_CONFIGURABLE_WRITABLE)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* SyntaxError built-in description * SyntaxError built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -33,9 +28,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_SYNTAX_ERROR)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
ECMA_BUILTIN_ID_SYNTAX_ERROR_PROTOTYPE, ECMA_BUILTIN_ID_SYNTAX_ERROR_PROTOTYPE,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -18,18 +18,10 @@
* *
* See also: ECMA-262 v5, 13.2.3 * See also: ECMA-262 v5, 13.2.3
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_TYPE_ERROR_THROWER)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -37,7 +29,6 @@ NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH,
0, 0,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* %TypedArrayPrototype% description * %TypedArrayPrototype% description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -37,9 +32,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE)
/* ES2015 22.2.3.4 */ /* ES2015 22.2.3.4 */
OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR, OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR,
ECMA_BUILTIN_ID_TYPEDARRAY, ECMA_BUILTIN_ID_TYPEDARRAY,
@@ -63,7 +55,6 @@ ACCESSOR_READ_ONLY (LIT_MAGIC_STRING_BYTE_OFFSET_UL,
ACCESSOR_READ_ONLY (LIT_MAGIC_STRING_LENGTH, ACCESSOR_READ_ONLY (LIT_MAGIC_STRING_LENGTH,
ecma_builtin_typedarray_prototype_length_getter, ecma_builtin_typedarray_prototype_length_getter,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* %TypedArray% description * %TypedArray% description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -37,10 +32,6 @@
# define ROUTINE(name, c_function_name, args_number, length_prop_value) # define ROUTINE(name, c_function_name, args_number, length_prop_value)
#endif /* !ROUTINE */ #endif /* !ROUTINE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_TYPEDARRAY)
/* ES2015 22.2.2 */ /* ES2015 22.2.2 */
NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH, NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH,
3, 3,
@@ -65,7 +56,6 @@ ROUTINE (LIT_MAGIC_STRING_FROM, ecma_builtin_typedarray_from, NON_FIXED, 1)
/* ES2015 22.2.2.2 */ /* ES2015 22.2.2.2 */
ROUTINE (LIT_MAGIC_STRING_OF, ecma_builtin_typedarray_of, NON_FIXED, 0) ROUTINE (LIT_MAGIC_STRING_OF, ecma_builtin_typedarray_of, NON_FIXED, 0)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* TypeError.prototype built-in description * TypeError.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef STRING_VALUE #ifndef STRING_VALUE
# define STRING_VALUE(name, magic_string_id, prop_attributes) # define STRING_VALUE(name, magic_string_id, prop_attributes)
#endif /* !STRING_VALUE */ #endif /* !STRING_VALUE */
@@ -29,9 +24,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_TYPE_ERROR_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE,
LIT_MAGIC_STRING__EMPTY, LIT_MAGIC_STRING__EMPTY,
ECMA_PROPERTY_CONFIGURABLE_WRITABLE) ECMA_PROPERTY_CONFIGURABLE_WRITABLE)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* TypeError built-in description * TypeError built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -33,9 +28,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_TYPE_ERROR)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
ECMA_BUILTIN_ID_TYPE_ERROR_PROTOTYPE, ECMA_BUILTIN_ID_TYPE_ERROR_PROTOTYPE,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* UriError.prototype built-in description * UriError.prototype built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef STRING_VALUE #ifndef STRING_VALUE
# define STRING_VALUE(name, magic_string_id, prop_attributes) # define STRING_VALUE(name, magic_string_id, prop_attributes)
#endif /* !STRING_VALUE */ #endif /* !STRING_VALUE */
@@ -29,9 +24,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_URI_ERROR_PROTOTYPE)
/* Object properties: /* Object properties:
* (property name, object pointer getter) */ * (property name, object pointer getter) */
@@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE,
LIT_MAGIC_STRING__EMPTY, LIT_MAGIC_STRING__EMPTY,
ECMA_PROPERTY_CONFIGURABLE_WRITABLE) ECMA_PROPERTY_CONFIGURABLE_WRITABLE)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE
@@ -16,11 +16,6 @@
/* /*
* UriError built-in description * UriError built-in description
*/ */
#ifndef OBJECT_ID
# define OBJECT_ID(builtin_object_id)
#endif /* !OBJECT_ID */
#ifndef NUMBER_VALUE #ifndef NUMBER_VALUE
# define NUMBER_VALUE(name, number_value, prop_attributes) # define NUMBER_VALUE(name, number_value, prop_attributes)
#endif /* !NUMBER_VALUE */ #endif /* !NUMBER_VALUE */
@@ -33,9 +28,6 @@
# define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes)
#endif /* !OBJECT_VALUE */ #endif /* !OBJECT_VALUE */
/* Object identifier */
OBJECT_ID (ECMA_BUILTIN_ID_URI_ERROR)
/* Number properties: /* Number properties:
* (property name, number value, writable, enumerable, configurable) */ * (property name, number value, writable, enumerable, configurable) */
@@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE,
ECMA_BUILTIN_ID_URI_ERROR_PROTOTYPE, ECMA_BUILTIN_ID_URI_ERROR_PROTOTYPE,
ECMA_PROPERTY_FIXED) ECMA_PROPERTY_FIXED)
#undef OBJECT_ID
#undef SIMPLE_VALUE #undef SIMPLE_VALUE
#undef NUMBER_VALUE #undef NUMBER_VALUE
#undef STRING_VALUE #undef STRING_VALUE