Skip to content

Removed 'is_static' parameter from 'BUILTIN' macro, because was never used. #2216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion jerry-core/ecma/builtin-objects/ecma-builtins-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ typedef struct
object_type, \
object_prototype_builtin_id, \
is_extensible, \
is_static, \
lowercase_name) \
extern const ecma_builtin_property_descriptor_t \
ecma_builtin_ ## lowercase_name ## _property_descriptor_list[]; \
Expand Down
5 changes: 0 additions & 5 deletions jerry-core/ecma/builtin-objects/ecma-builtins.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ static const ecma_builtin_property_list_reference_t ecma_builtin_property_list_r
object_type, \
object_prototype_builtin_id, \
is_extensible, \
is_static, \
lowercase_name) \
ecma_builtin_ ## lowercase_name ## _property_descriptor_list,
#include "ecma-builtins.inc.h"
Expand Down Expand Up @@ -302,7 +301,6 @@ ecma_instantiate_builtin (ecma_builtin_id_t id) /**< built-in id */
object_type, \
object_prototype_builtin_id, \
is_extensible, \
is_static, \
lowercase_name) \
case builtin_id: \
{ \
Expand Down Expand Up @@ -797,7 +795,6 @@ ecma_builtin_dispatch_routine (ecma_builtin_id_t builtin_object_id, /**< built-i
object_type, \
object_prototype_builtin_id, \
is_extensible, \
is_static, \
lowercase_name) \
case builtin_id: \
{ \
Expand Down Expand Up @@ -855,7 +852,6 @@ ecma_builtin_dispatch_call (ecma_object_t *obj_p, /**< built-in object */
object_type, \
object_prototype_builtin_id, \
is_extensible, \
is_static, \
lowercase_name) \
case builtin_id: \
{ \
Expand Down Expand Up @@ -908,7 +904,6 @@ ecma_builtin_dispatch_construct (ecma_object_t *obj_p, /**< built-in object */
object_type, \
object_prototype_builtin_id, \
is_extensible, \
is_static, \
lowercase_name) \
case builtin_id: \
{ \
Expand Down
1 change: 0 additions & 1 deletion jerry-core/ecma/builtin-objects/ecma-builtins.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ typedef enum
object_type, \
object_prototype_builtin_id, \
is_extensible, \
is_static, \
lowercase_name) \
builtin_id,
#include "ecma-builtins.inc.h"
Expand Down
Loading