Skip to content

Remove LIST_LAZY_PROPERTY_NAMES_ROUTINE_NAME macro function. #1154

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
merged 1 commit into from
Jun 17, 2016

Conversation

zherczeg
Copy link
Member

8K binary save (164K -> 156K), a small slowdown (1%). I think 8K worth it.

lowercase_name) \
ecma_builtin_ ## lowercase_name ## _property_descriptor_list,
#include "ecma-builtins.inc.h"
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need #undef BUILTIN here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is part of ecma-builtins.inc.h

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@LaszloLango LaszloLango added enhancement An improvement binary size Affects binary size ecma builtins Related to ECMA built-in routines labels Jun 17, 2016
@zherczeg
Copy link
Member Author

Patch updated.

@LaszloLango
Copy link
Contributor

LGTM

@zherczeg zherczeg force-pushed the lazy_enum_opt branch 2 times, most recently from 0563438 to e16a358 Compare June 17, 2016 11:38
@dbatyai
Copy link
Member

dbatyai commented Jun 17, 2016

LGTM

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
@zherczeg zherczeg merged commit 37ebd20 into jerryscript-project:master Jun 17, 2016
@zherczeg zherczeg deleted the lazy_enum_opt branch June 17, 2016 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binary size Affects binary size ecma builtins Related to ECMA built-in routines enhancement An improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants