-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
src: remove unneeded ABORT after CHECK(0) #8593
Conversation
CHECK includes node::Abort(), so that's unneeded to call ABORT after CHECK.
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
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
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
Does this CI failure on arm-fanned is related? |
@yorkie .. no, I do not believe so. The arm failures are something else and I believe the @nodejs/build team is actively working on getting those resolved. |
CHECK includes node::Abort(), so that's unneeded to call ABORT after CHECK. PR-URL: #8593 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
CHECK includes node::Abort(), so that's unneeded to call ABORT after CHECK. PR-URL: #8593 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
CHECK includes node::Abort(), so that's unneeded to call ABORT after CHECK. PR-URL: #8593 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Checklist
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
src
Description of change
CHECK
includesnode::Abort()
, so that's unneeded to callABORT
afterCHECK(0)
.In src/util.h:
And in src/node.cc:
Thus we could remove
ABORT()
s afterCHECK(0)
:)