diff options
author | László Langó <llango.u-szeged@partner.samsung.com> | 2017-01-17 08:58:46 +0100 |
---|---|---|
committer | Tilmann Scheller <t.scheller@samsung.com> | 2017-01-17 08:58:46 +0100 |
commit | 471ad284f6e92195b783f092380a8ac4e0186dfd (patch) | |
tree | eeb4e6c4ff22f7123387309997abb1163c1c9ee9 | |
parent | 4b5cf8ad26715df0afb0dc5b01f9ed510a1854cf (diff) |
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
40 files changed, 0 insertions, 362 deletions
diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-array-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-array-prototype.inc.h index 6ac45bce..4c1b1ec7 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-array-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-array-prototype.inc.h @@ -16,11 +16,6 @@ /* * Array.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -33,9 +28,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_ARRAY_PROTOTYPE) - /* Object properties: * (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_RIGHT_UL, ecma_builtin_array_prototype_object_reduce_right, NON_FIXED, 1) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-array.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-array.inc.h index e516215a..aff2c0fc 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-array.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-array.inc.h @@ -16,11 +16,6 @@ /* * Array description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -33,9 +28,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_ARRAY) - /* Object properties: * (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) */ ROUTINE (LIT_MAGIC_STRING_IS_ARRAY_UL, ecma_builtin_array_object_is_array, 1, 1) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer-prototype.inc.h index 02faf2ec..fa2cb0a4 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer-prototype.inc.h @@ -12,11 +12,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -37,9 +32,6 @@ # define ACCESSOR_READ_ONLY(name, c_getter_func_name, prop_attributes) #endif /* !ACCESSOR_READ_ONLY */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_ARRAYBUFFER_PROTOTYPE) - /* Object properties: * (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) */ ROUTINE (LIT_MAGIC_STRING_SLICE, ecma_builtin_arraybuffer_prototype_object_slice, 2, 2) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer.inc.h index af52746a..c1fe9765 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer.inc.h @@ -16,11 +16,6 @@ /* * ArrayBuffer built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -33,9 +28,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_ARRAYBUFFER) - /* Number properties: * (property name, number value, writable, enumerable, configurable) */ @@ -56,7 +48,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, /* ES2015 24.1.3.1 */ ROUTINE (LIT_MAGIC_STRING_IS_VIEW_UL, ecma_builtin_arraybuffer_object_is_view, 1, 1) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-boolean-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-boolean-prototype.inc.h index c44bf1d7..6e609e2d 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-boolean-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-boolean-prototype.inc.h @@ -16,11 +16,6 @@ /* * Boolean.prototype description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -29,9 +24,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_BOOLEAN_PROTOTYPE) - /* Object properties: * (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_VALUE_OF_UL, ecma_builtin_boolean_prototype_object_value_of, 0, 0) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-boolean.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-boolean.inc.h index 359496fb..409aa093 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-boolean.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-boolean.inc.h @@ -16,11 +16,6 @@ /* * Boolean description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -33,9 +28,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_BOOLEAN) - /* Object properties: * (property name, object pointer getter) */ @@ -52,7 +44,6 @@ NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH, 1, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-date-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-date-prototype.inc.h index 17e816ec..77bca27a 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-date-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-date-prototype.inc.h @@ -16,11 +16,6 @@ /* * Date.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -29,9 +24,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_DATE_PROTOTYPE) - OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR, ECMA_BUILTIN_ID_DATE, 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 */ -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-date.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-date.inc.h index 0fde1bb9..9c85b53a 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-date.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-date.inc.h @@ -16,11 +16,6 @@ /* * Date built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -33,9 +28,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_DATE) - /* ECMA-262 v5, 15.9.4.1 */ OBJECT_VALUE (LIT_MAGIC_STRING_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_NOW, ecma_builtin_date_now, 0, 0) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-error-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-error-prototype.inc.h index 8e5286ae..5aad5a7d 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-error-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-error-prototype.inc.h @@ -16,11 +16,6 @@ /* * Error.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef STRING_VALUE # define STRING_VALUE(name, magic_string_id, prop_attributes) #endif /* !STRING_VALUE */ @@ -33,9 +28,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_ERROR_PROTOTYPE) - /* Object properties: * (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) */ ROUTINE (LIT_MAGIC_STRING_TO_STRING_UL, ecma_builtin_error_prototype_object_to_string, 0, 0) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-error.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-error.inc.h index 04d9727b..b506dbe6 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-error.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-error.inc.h @@ -16,11 +16,6 @@ /* * Error built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -33,9 +28,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_ERROR) - /* Number properties: * (property name, number value, writable, enumerable, configurable) */ @@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, ECMA_BUILTIN_ID_ERROR_PROTOTYPE, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror-prototype.inc.h index abbccf77..82779aee 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror-prototype.inc.h @@ -16,11 +16,6 @@ /* * EvalError.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef STRING_VALUE # define STRING_VALUE(name, magic_string_id, prop_attributes) #endif /* !STRING_VALUE */ @@ -29,9 +24,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_EVAL_ERROR_PROTOTYPE) - /* Object properties: * (property name, object pointer getter) */ @@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE, LIT_MAGIC_STRING__EMPTY, ECMA_PROPERTY_CONFIGURABLE_WRITABLE) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror.inc.h index ebfa92d9..4c991e9e 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror.inc.h @@ -16,11 +16,6 @@ /* * EvalError built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -33,9 +28,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_EVAL_ERROR) - /* Number properties: * (property name, number value, writable, enumerable, configurable) */ @@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, ECMA_BUILTIN_ID_EVAL_ERROR_PROTOTYPE, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-function-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-function-prototype.inc.h index 306f2548..09711b11 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-function-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-function-prototype.inc.h @@ -16,11 +16,6 @@ /* * Function.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -33,9 +28,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE) - /* Object properties: * (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_BIND, ecma_builtin_function_prototype_object_bind, NON_FIXED, 1) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-function.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-function.inc.h index 24b6e7a0..8841f8a3 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-function.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-function.inc.h @@ -16,11 +16,6 @@ /* * Function built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -33,9 +28,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_FUNCTION) - /* Object properties: * (property name, object pointer getter) */ @@ -52,7 +44,6 @@ NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH, 1, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h index 23dcd8a8..d9cb27d7 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h @@ -16,11 +16,6 @@ /* * Global built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef SIMPLE_VALUE # define SIMPLE_VALUE(name, simple_value, prop_attributes) #endif /* !SIMPLE_VALUE */ @@ -37,9 +32,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_GLOBAL) - /* Simple value properties: * (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) #endif /* !CONFIG_DISABLE_ANNEXB_BUILTIN */ -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-int8array-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-int8array-prototype.inc.h index 6ca4d685..6b0f2d0d 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-int8array-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-int8array-prototype.inc.h @@ -16,11 +16,6 @@ /* * Int8Array prototype description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -37,9 +32,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_INT8ARRAY_PROTOTYPE) - /* ES2015 22.2.3.4 */ OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR, ECMA_BUILTIN_ID_INT8ARRAY, @@ -50,7 +42,6 @@ NUMBER_VALUE (LIT_MAGIC_STRING_BYTES_PER_ELEMENT_U, 1, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-int8array.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-int8array.inc.h index 8f14537c..08d26b8b 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-int8array.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-int8array.inc.h @@ -16,11 +16,6 @@ /* * Int8Array description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -37,10 +32,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_INT8ARRAY) - - /* ES2015 22.2.5 */ NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH, 3, @@ -66,7 +57,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, ECMA_BUILTIN_ID_INT8ARRAY_PROTOTYPE, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-json.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-json.inc.h index 5a42ccba..cf74271a 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-json.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-json.inc.h @@ -16,11 +16,6 @@ /* * JSON built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef SIMPLE_VALUE # define SIMPLE_VALUE(name, simple_value, prop_attributes) #endif /* !SIMPLE_VALUE */ @@ -37,15 +32,11 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_JSON) - /* Routine properties: * (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_STRINGIFY, ecma_builtin_json_stringify, 3, 3) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-math.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-math.inc.h index 15dc4a09..52bf6846 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-math.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-math.inc.h @@ -16,11 +16,6 @@ /* * Math built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef SIMPLE_VALUE # define SIMPLE_VALUE(name, simple_value, prop_attributes) #endif /* !SIMPLE_VALUE */ @@ -37,9 +32,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_MATH) - /* Number properties: * (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_TAN, ECMA_MATH_OBJECT_TAN, 1, 1) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-number-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-number-prototype.inc.h index 94c2e2be..3aaf99d0 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-number-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-number-prototype.inc.h @@ -16,11 +16,6 @@ /* * Number.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -29,9 +24,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_NUMBER_PROTOTYPE) - /* Object properties: * (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_PRECISION_UL, ecma_builtin_number_prototype_object_to_precision, 1, 1) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-number.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-number.inc.h index f36b34d5..ac411514 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-number.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-number.inc.h @@ -16,11 +16,6 @@ /* * Number built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -29,9 +24,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_NUMBER) - /* Number properties: * (property name, number value, writable, enumerable, configurable) */ @@ -73,7 +65,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, ECMA_BUILTIN_ID_NUMBER_PROTOTYPE, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-object-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-object-prototype.inc.h index dd2b2f07..43dfd406 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-object-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-object-prototype.inc.h @@ -16,11 +16,6 @@ /* * Object.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -29,9 +24,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_OBJECT_PROTOTYPE) - /* Object properties: * (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_PROPERTY_IS_ENUMERABLE_UL, ecma_builtin_object_prototype_object_property_is_enumerable, 1, 1) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-object.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-object.inc.h index eae8e30a..d957c2fb 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-object.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-object.inc.h @@ -16,11 +16,6 @@ /* * Object built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -33,9 +28,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_OBJECT) - /* Number properties: * (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_PROPERTY_UL, ecma_builtin_object_object_define_property, 3, 3) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-rangeerror-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-rangeerror-prototype.inc.h index 0dbc03c2..1b56a5a1 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-rangeerror-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-rangeerror-prototype.inc.h @@ -16,11 +16,6 @@ /* * RangeError.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef STRING_VALUE # define STRING_VALUE(name, magic_string_id, prop_attributes) #endif /* !STRING_VALUE */ @@ -29,9 +24,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_RANGE_ERROR_PROTOTYPE) - /* Object properties: * (property name, object pointer getter) */ @@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE, LIT_MAGIC_STRING__EMPTY, ECMA_PROPERTY_CONFIGURABLE_WRITABLE) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-rangeerror.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-rangeerror.inc.h index f987f1d9..4f9434a1 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-rangeerror.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-rangeerror.inc.h @@ -16,11 +16,6 @@ /* * RangeError built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -33,9 +28,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_RANGE_ERROR) - /* Number properties: * (property name, number value, writable, enumerable, configurable) */ @@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, ECMA_BUILTIN_ID_RANGE_ERROR_PROTOTYPE, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-referenceerror-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-referenceerror-prototype.inc.h index 09bcb7b4..a3589b47 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-referenceerror-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-referenceerror-prototype.inc.h @@ -16,11 +16,6 @@ /* * ReferenceError.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef STRING_VALUE # define STRING_VALUE(name, magic_string_id, prop_attributes) #endif /* !STRING_VALUE */ @@ -29,9 +24,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_REFERENCE_ERROR_PROTOTYPE) - /* Object properties: * (property name, object pointer getter) */ @@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE, LIT_MAGIC_STRING__EMPTY, ECMA_PROPERTY_CONFIGURABLE_WRITABLE) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-referenceerror.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-referenceerror.inc.h index 031b5836..a8f04e93 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-referenceerror.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-referenceerror.inc.h @@ -16,11 +16,6 @@ /* * ReferenceError built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -33,9 +28,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_REFERENCE_ERROR) - /* Number properties: * (property name, number value, writable, enumerable, configurable) */ @@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, ECMA_BUILTIN_ID_REFERENCE_ERROR_PROTOTYPE, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-regexp-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-regexp-prototype.inc.h index 0bd8c5ef..c98bc730 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-regexp-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-regexp-prototype.inc.h @@ -16,11 +16,6 @@ /* * RegExp.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -41,9 +36,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_REGEXP_PROTOTYPE) - /* ECMA-262 v5, 15.10.6.1 */ OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR, 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_TO_STRING_UL, ecma_builtin_regexp_prototype_to_string, 0, 0) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-regexp.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-regexp.inc.h index b7d2e4a8..33026c13 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-regexp.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-regexp.inc.h @@ -16,11 +16,6 @@ /* * RegExp built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -29,9 +24,6 @@ # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_REGEXP) - /* ECMA-262 v5, 15.10.5 */ NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH, 2, @@ -42,7 +34,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, ECMA_BUILTIN_ID_REGEXP_PROTOTYPE, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-string-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-string-prototype.inc.h index ef8c57f2..b71e412b 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-string-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-string-prototype.inc.h @@ -16,11 +16,6 @@ /* * String.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef OBJECT_VALUE # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ @@ -33,9 +28,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_STRING_PROTOTYPE) - /* Object properties: * (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) #endif /* !CONFIG_DISABLE_ANNEXB_BUILTIN */ -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-string.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-string.inc.h index 115a2320..0db4887e 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-string.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-string.inc.h @@ -16,11 +16,6 @@ /* * String built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -33,9 +28,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_STRING) - /* Number properties: * (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) */ 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 NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-syntaxerror-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-syntaxerror-prototype.inc.h index 09c60d9d..abee6f81 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-syntaxerror-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-syntaxerror-prototype.inc.h @@ -16,11 +16,6 @@ /* * SyntaxError.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef STRING_VALUE # define STRING_VALUE(name, magic_string_id, prop_attributes) #endif /* !STRING_VALUE */ @@ -29,9 +24,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_SYNTAX_ERROR_PROTOTYPE) - /* Object properties: * (property name, object pointer getter) */ @@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE, LIT_MAGIC_STRING__EMPTY, ECMA_PROPERTY_CONFIGURABLE_WRITABLE) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-syntaxerror.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-syntaxerror.inc.h index e8ec73c1..d203f283 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-syntaxerror.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-syntaxerror.inc.h @@ -16,11 +16,6 @@ /* * SyntaxError built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -33,9 +28,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_SYNTAX_ERROR) - /* Number properties: * (property name, number value, writable, enumerable, configurable) */ @@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, ECMA_BUILTIN_ID_SYNTAX_ERROR_PROTOTYPE, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-type-error-thrower.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-type-error-thrower.inc.h index 042ad89d..da7cbef6 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-type-error-thrower.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-type-error-thrower.inc.h @@ -18,18 +18,10 @@ * * See also: ECMA-262 v5, 13.2.3 */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_TYPE_ERROR_THROWER) - /* Number properties: * (property name, number value, writable, enumerable, configurable) */ @@ -37,7 +29,6 @@ NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH, 0, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-typedarray-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-typedarray-prototype.inc.h index a0fa7d5c..ea8521b1 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-typedarray-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-typedarray-prototype.inc.h @@ -16,11 +16,6 @@ /* * %TypedArrayPrototype% description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -37,9 +32,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_TYPEDARRAY_PROTOTYPE) - /* ES2015 22.2.3.4 */ OBJECT_VALUE (LIT_MAGIC_STRING_CONSTRUCTOR, ECMA_BUILTIN_ID_TYPEDARRAY, @@ -63,7 +55,6 @@ ACCESSOR_READ_ONLY (LIT_MAGIC_STRING_BYTE_OFFSET_UL, ACCESSOR_READ_ONLY (LIT_MAGIC_STRING_LENGTH, ecma_builtin_typedarray_prototype_length_getter, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-typedarray.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-typedarray.inc.h index 5ace073c..0e1cbaa0 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-typedarray.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-typedarray.inc.h @@ -16,11 +16,6 @@ /* * %TypedArray% description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -37,10 +32,6 @@ # define ROUTINE(name, c_function_name, args_number, length_prop_value) #endif /* !ROUTINE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_TYPEDARRAY) - - /* ES2015 22.2.2 */ NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH, 3, @@ -65,7 +56,6 @@ ROUTINE (LIT_MAGIC_STRING_FROM, ecma_builtin_typedarray_from, NON_FIXED, 1) /* ES2015 22.2.2.2 */ ROUTINE (LIT_MAGIC_STRING_OF, ecma_builtin_typedarray_of, NON_FIXED, 0) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-typeerror-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-typeerror-prototype.inc.h index d95ee963..29619dfb 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-typeerror-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-typeerror-prototype.inc.h @@ -16,11 +16,6 @@ /* * TypeError.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef STRING_VALUE # define STRING_VALUE(name, magic_string_id, prop_attributes) #endif /* !STRING_VALUE */ @@ -29,9 +24,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_TYPE_ERROR_PROTOTYPE) - /* Object properties: * (property name, object pointer getter) */ @@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE, LIT_MAGIC_STRING__EMPTY, ECMA_PROPERTY_CONFIGURABLE_WRITABLE) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-typeerror.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-typeerror.inc.h index 6d4d368b..9b55ad94 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-typeerror.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-typeerror.inc.h @@ -16,11 +16,6 @@ /* * TypeError built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -33,9 +28,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_TYPE_ERROR) - /* Number properties: * (property name, number value, writable, enumerable, configurable) */ @@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, ECMA_BUILTIN_ID_TYPE_ERROR_PROTOTYPE, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-urierror-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-urierror-prototype.inc.h index 1425e539..1da9a812 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-urierror-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-urierror-prototype.inc.h @@ -16,11 +16,6 @@ /* * UriError.prototype built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef STRING_VALUE # define STRING_VALUE(name, magic_string_id, prop_attributes) #endif /* !STRING_VALUE */ @@ -29,9 +24,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_URI_ERROR_PROTOTYPE) - /* Object properties: * (property name, object pointer getter) */ @@ -50,7 +42,6 @@ STRING_VALUE (LIT_MAGIC_STRING_MESSAGE, LIT_MAGIC_STRING__EMPTY, ECMA_PROPERTY_CONFIGURABLE_WRITABLE) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-urierror.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-urierror.inc.h index 47c6830a..28e9f577 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-urierror.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-urierror.inc.h @@ -16,11 +16,6 @@ /* * UriError built-in description */ - -#ifndef OBJECT_ID -# define OBJECT_ID(builtin_object_id) -#endif /* !OBJECT_ID */ - #ifndef NUMBER_VALUE # define NUMBER_VALUE(name, number_value, prop_attributes) #endif /* !NUMBER_VALUE */ @@ -33,9 +28,6 @@ # define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) #endif /* !OBJECT_VALUE */ -/* Object identifier */ -OBJECT_ID (ECMA_BUILTIN_ID_URI_ERROR) - /* Number properties: * (property name, number value, writable, enumerable, configurable) */ @@ -52,7 +44,6 @@ OBJECT_VALUE (LIT_MAGIC_STRING_PROTOTYPE, ECMA_BUILTIN_ID_URI_ERROR_PROTOTYPE, ECMA_PROPERTY_FIXED) -#undef OBJECT_ID #undef SIMPLE_VALUE #undef NUMBER_VALUE #undef STRING_VALUE |