Skip to content

Conversation

@franc0is
Copy link
Contributor

Assumptions are hard-coded elsewhere that require these enums to be 32 bits in size, yet it isn't enforced and some compilers will shorten them.

JerryScript-DCO-1.0-Signed-off-by: François Baldassari francois@pebble.com

@LaszloLango LaszloLango added the bug Undesired behaviour label Apr 25, 2016
JerryScript-DCO-1.0-Signed-off-by: François Baldassari francois@pebble.com
@franc0is franc0is force-pushed the force-large-enums branch from 4f0ad42 to d8dbec9 Compare April 26, 2016 09:19
@zherczeg
Copy link
Member

I think it is bad if we directly store enums in the snapshot. I would prefer to change type to uint8_t rather than adding a high value.

@LaszloLango
Copy link
Contributor

@franc0is, I agree with @zherczeg. Do you plan to update your PR?

@zherczeg
Copy link
Member

After #1168 this change becomes invalid.

@zherczeg
Copy link
Member

zherczeg commented Jul 4, 2016

May I close this PR?

@zherczeg
Copy link
Member

zherczeg commented Jul 5, 2016

I close this bug. Please feel free to repoen if needed.

@zherczeg zherczeg closed this Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Undesired behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants