Skip to content
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

Increase the debugger version field size from 1 byte to 4 byte #2513

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

zherczeg
Copy link
Member

@zherczeg zherczeg commented Sep 6, 2018

No description provided.


if (endian_data.uint8_value[0] == 1)
{
configuration_p->configuration = (uint8_t) (configuration_p->configuration | JERRY_DEBUGGER_LITTLE_ENDIAN);
Copy link
Member

Choose a reason for hiding this comment

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

Does |= not work? (configuration_p->configuration |= (uint8_t) JERRY_DEBUGGER_LITTLE_ENDIAN;)

Or even configuration_p->configuration |= (uint8_t) (endian_data.uint8_value[0] == 1 ? JERRY_DEBUGGER_LITTLE_ENDIAN : 0); without an if?

@akosthekiss akosthekiss added the debugger Related to the debugger label Sep 6, 2018
Copy link
Member

@akosthekiss akosthekiss left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@LaszloLango LaszloLango left a comment

Choose a reason for hiding this comment

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

LGTM

@LaszloLango LaszloLango merged commit 35fbcd1 into jerryscript-project:master Sep 20, 2018
@zherczeg zherczeg deleted the version_number branch September 20, 2018 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debugger Related to the debugger
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants