Skip to content

Remove compact profile. #1238

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

Conversation

robertsipka
Copy link
Contributor

@robertsipka robertsipka commented Aug 4, 2016

The standard doesn't defines ECMAScript Compact Profile as a subset of Ecma-262 Edition 5.1.
Profile modes can be added easily like the minimal profile if required.

JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com

@robertsipka robertsipka force-pushed the remove_compact_profile branch from 1e33563 to e0ce691 Compare August 4, 2016 11:53

* 4-byte (float, compact profile)
* 8-byte (double, full profile)
The default is 8-byte (double), but its able to use 4-byte (set CONFIG_ECMA_NUMBER_TYPE value), with the risk that it could lead inaccuracies.
Copy link
Member

Choose a reason for hiding this comment

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

split this into two lines.
but the engine supports the 4-byte (single precision) representation by setting CONFIG_ECMA_NUMBER_TYPE as well

@zherczeg
Copy link
Member

zherczeg commented Aug 4, 2016

Good patch, LGTM after those stlye fixes.

@robertsipka robertsipka force-pushed the remove_compact_profile branch 2 times, most recently from 21222eb to 38328ee Compare August 4, 2016 12:33
@robertsipka
Copy link
Contributor Author

Thanks, I've updated the patch based on your comments.

@LaszloLango
Copy link
Contributor

LGTM

1 similar comment
@zherczeg
Copy link
Member

zherczeg commented Aug 5, 2016

LGTM

The standard doesn't defines ECMAScript Compact Profile as a subset of Ecma-262 Edition 5.1.
Profile modes can be added easily like the minimal profile if required.

JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
@robertsipka robertsipka force-pushed the remove_compact_profile branch from 38328ee to f15e7be Compare August 5, 2016 07:12
@robertsipka
Copy link
Contributor Author

Thanks, I've rebased it with master.

@LaszloLango LaszloLango merged commit f15e7be into jerryscript-project:master Aug 5, 2016
@robertsipka robertsipka deleted the remove_compact_profile branch November 24, 2016 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants