-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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: backport 0353a1e from V8 upstream #15287
Conversation
Original commit message: Avoid disassembling Interpreted Regexp code I found that v8 will crash when --print-code is turned on while Regexp is interpreted. It crashes when trying to print Relocation info during Disassembly. It should probably avoid printing out disassembly when the Code object is a bytecode regexp. Bug: Change-Id: I35b531cb03996a303248652871452266c78fee38 Reviewed-on: https://chromium-review.googlesource.com/642127 Reviewed-by: Yang Guo <yangguo@chromium.org>
@jBarz was it meant to backport this to 6.x and not to open a PR against master? |
I meant to backport to v6.x only. |
@jBarz is this not relevant for 8.x and above or is it already included there? |
It is not included in 8.x and above. |
Oh right, it is relevant for v8.x and above. |
@jBarz this will not land on 8.x without a explicit backport. And also master is not kept to the latest v8 version. Newer versions are included in semver-major versions. Master is limited to 6.1 right now because it refers to v.9.0.0-pre. |
We can do a merge request on V8 side for V8 6.2 and 6.1 (master has 6.1) and backport to v8.x |
Did somebody open the merge request on the V8 side already? |
I didn't |
Sorry, will create the merge request on the V8 side today. |
Original commit message: Avoid disassembling Interpreted Regexp code I found that v8 will crash when --print-code is turned on while Regexp is interpreted. It crashes when trying to print Relocation info during Disassembly. It should probably avoid printing out disassembly when the Code object is a bytecode regexp. Bug: Change-Id: I35b531cb03996a303248652871452266c78fee38 Reviewed-on: https://chromium-review.googlesource.com/642127 Reviewed-by: Yang Guo <yangguo@chromium.org> PR-URL: #15287 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
quick V8 CI: https://ci.nodejs.org/job/node-test-commit-v8-linux/915/ @addaleax do you want to float this on your 6.1 PR until it is updated upstream? |
@MylesBorins sorry, which PR? If you’re talking about #15393 that’s @targos’s PR, and I don’t really know how to keep track of what needs to lands in which branch :) |
landed in 4e1a50a |
The merge was accepted for 6.2 but rejected for 6.1. Cherry-pick: #15599 |
Original commit message:
Avoid disassembling Interpreted Regexp code
I found that v8 will crash when --print-code is turned on while Regexp
is interpreted. It crashes when trying to print Relocation info during
Disassembly. It should probably avoid printing out disassembly when the
Code object is a bytecode regexp.
Bug:
Change-Id: I35b531cb03996a303248652871452266c78fee38
Reviewed-on: https://chromium-review.googlesource.com/642127
Reviewed-by: Yang Guo yangguo@chromium.org
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)