-
Notifications
You must be signed in to change notification settings - Fork 688
Unify the condition form within the asserts #1066
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
Unify the condition form within the asserts #1066
Conversation
|
LGTM (please fix commit message: "can be represented") |
ebe571a to
0decf86
Compare
|
Thanks, fixed. |
| JERRY_ASSERT ( name[0] <= UINT32_MAX); \ | ||
| JERRY_ASSERT ( name[1] <= UINT32_MAX); \ | ||
| JERRY_ASSERT ( name[2] <= UINT32_MAX); \ | ||
| JERRY_ASSERT ( name[3] <= UINT32_MAX); \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary space in front of name.
JERRY_ASSERT (name[0] <= UINT32_MAX);
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you added a space before name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh, thanks, it was remiss of me.
0decf86 to
7acc5c8
Compare
|
LGTM |
|
LGTM |
This modificiation affects those conditions which check that a value can be represented with a smaller type. JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
7acc5c8 to
1c028d9
Compare
|
I rebased it with the master. |
This modificiation affects those conditions which check that
a value can be representable with a smaller type.
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com