-
Notifications
You must be signed in to change notification settings - Fork 30k
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
deps: add back no-op harmony shipping flags #8445
Conversation
LGTM pending green CIs… thanks for putting this together! |
LGTM tested locally to confirm that the noop flags work as expected |
Note that I have not added back the |
This LGTM for v6, but I want to make sure it's absolutely clear that these won't be in v7. We should likely have a documented policy that V8 flags removed within a major would only be noop'ed in that major, and removed completely in the next major. |
LGTM. Thanks @ofrobots! |
I think our policy should be that use of V8 flags is not supported. This is a one-off change, and not intended to set precedent that we want to be playing with V8 flags. |
b596da0
to
49f996f
Compare
@bnoordhuis you had left a -1 on #8395 on the idea of floating a patch. Would you be okay with this change? |
LGTM |
A grumbling LGTM. |
ddc0b48
to
004f2ed
Compare
Add back the no-op harmony shipping flags that were removed in V8 5.1 to increase compatibility with V8 5.0 that we had been shipping before v6.5.0. These flags do nothing. Fixes: nodejs#8388 Ref: nodejs#8395 PR-URL: nodejs#8445 Reviewed-By: addaleax - Anna Henningsen <anna@addaleax.net> Reviewed-By: thealphanerd - Myles Borins <myles.borins@gmail.com> Reviewed-By: jasnell - James M Snell <jasnell@gmail.com> Reviewed-By: evanlucas - Evan Lucas <evanlucas@me.com> Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com> Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
004f2ed
to
9c460d7
Compare
Thanks. Landed on |
Checklist
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
deps:v8
Description of change
This PR adds back the shipping harmony flags (i.e. no-ops) that were removed in V8 5.1. While uses of V8 flags is generally not supported by Node, in this case a trivial change reduces minor hardship in the ecosystem by adding back these flags (and making them do nothing).
Fixes: #8388
Ref: #8395
R=@nodejs/v8
EDIT:
CI: https://ci.nodejs.org/job/node-test-pull-request/3967/CI: https://ci.nodejs.org/job/node-test-pull-request/4033/
V8-CI: https://ci.nodejs.org/view/All/job/node-test-commit-v8-linux/310/