-
Notifications
You must be signed in to change notification settings - Fork 688
Get rid of ? true : false
#2575
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
Get rid of ? true : false
#2575
Conversation
|
I would like to see the effect on some exotic compiler environments. This has never caused any issues on Linux. |
|
@zherczeg Please, name those exotic compiler environments and also those from whom you expect the feedback. Right now, I see no setup where |
|
I've tried out JSRemoteTest with this branch on TizenRT target (compiler: arm-none-eabi-gcc - 4.9.3, TizenRT hash:
|
|
More detailed output: https://gist.github.com/rtakacs/0de9c0fa1b9a1b4b80162e435dd8f947 An other info: JSRemoteTest uses newer version of TizenRT (Jun 5, 2018) than JerryScript's Travis (Oct 20, 2017). |
2ae2e8a to
6c5d2aa
Compare
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
6c5d2aa to
2f85e8f
Compare
|
@rtakacs I've updated the PR. I did not expect |
|
@akosthekiss Okay, it works now :) LGTM (informal) |
|
Thanks, @rtakacs |
zherczeg
left a comment
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.
LGTM
LaszloLango
left a comment
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.
LGTM
The explicit boolean type conversion (introduced by jerryscript-project#2575) desn't work with TizenRT if custom boolean reprezentation is used. Of course, TizenRT gives an opportunity to use the C99 standard boolean (that works well if that is set). I've replaced all the explicit boolean type conversions with double negotions that helps to work JerryScript well with custom boolean types. JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.uszeged@partner.samsung.com
The explicit boolean type conversion (introduced by jerryscript-project#2575) desn't work with TizenRT if custom boolean representation is used. Of course, TizenRT gives an opportunity to use the C99 standard boolean (that works well if that is set). I've replaced all the explicit boolean type conversions with double negations that helps to work JerryScript well with custom boolean types. JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.uszeged@partner.samsung.com
The explicit boolean type conversion (introduced by jerryscript-project#2575) desn't work with TizenRT if custom boolean representation is used. Of course, TizenRT gives an opportunity to use the C99 standard boolean (that works well if that is set). I've replaced all the explicit boolean type conversions with double negations that helps to work JerryScript well with custom boolean types. JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.uszeged@partner.samsung.com
The explicit boolean type conversion (introduced by jerryscript-project#2575) desn't work with TizenRT if custom boolean representation is used. Of course, TizenRT gives an opportunity to use the C99 standard boolean (that works well if that is set). I've replaced all the explicit boolean type conversions with double negations that helps to work JerryScript well with custom boolean types. JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.uszeged@partner.samsung.com
The explicit boolean type conversion (introduced by #2575) desn't work with TizenRT if custom boolean representation is used. Of course, TizenRT gives an opportunity to use the C99 standard boolean (that works well if that is set). I've replaced all the explicit boolean type conversions with double negations that helps to work JerryScript well with custom boolean types. JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.uszeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu