Skip to content

[v13.x] deps: V8: cherry-pick dc3a90be6ca7 - #32795

Closed
targos wants to merge 1 commit into
nodejs:v13.x-stagingfrom
targos:fix-new-function-v13
Closed

[v13.x] deps: V8: cherry-pick dc3a90be6ca7#32795
targos wants to merge 1 commit into
nodejs:v13.x-stagingfrom
targos:fix-new-function-v13

Conversation

@targos

Copy link
Copy Markdown
Member

Original commit message:

[debug] Revert to old line number behavior for new Function()
Reverting https://chromium-review.googlesource.com/c/v8/v8/+/1741660
This fixed one bug but caused a lot of others and on balance I think
reverting it is the lesser evil.
This also fixed generator-relocation.js because
(function*(){}).constructor is the function constructor and we try to
set a breakpoint on line 3.
Bug: chromium:109362, chromium:1028689
Fixes: v8:9721
Change-Id: I1bfe6ec57ce77ea7292df91266311f5c0194947e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1940259
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65232}

Refs: v8/v8@dc3a90b

Revert "assert: fix line number calculation after V8 upgrade"

This reverts commit 5981fb7.

Fixes: #32688

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Original commit message:
[debug] Revert to old line number behavior for new Function()
Reverting https://chromium-review.googlesource.com/c/v8/v8/+/1741660
This fixed one bug but caused a lot of others and on balance I think
reverting it is the lesser evil.
This also fixed generator-relocation.js because
(function*(){}).constructor is the function constructor and we try to
set a breakpoint on line 3.
Bug: chromium:109362, chromium:1028689
Fixes: v8:9721
Change-Id: I1bfe6ec57ce77ea7292df91266311f5c0194947e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1940259
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65232}
Refs: v8/v8@dc3a90b
Revert "assert: fix line number calculation after V8 upgrade"
This reverts commit 5981fb7.
Fixes: nodejs#32688
@nodejs-github-botnodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. v13.x labels Apr 12, 2020
@targostargos changed the title deps: V8: cherry-pick dc3a90be6ca7[v13.x] deps: V8: cherry-pick dc3a90be6ca7Apr 12, 2020
@targos

Copy link
Copy Markdown
MemberAuthor

This includes a revert of 5981fb7, which was also done on master when we updated V8 to 8.1.

@targos

Copy link
Copy Markdown
MemberAuthor

@nodejs/v8-update

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

targos added a commit that referenced this pull request Apr 28, 2020
Original commit message:
[debug] Revert to old line number behavior for new Function()
Reverting https://chromium-review.googlesource.com/c/v8/v8/+/1741660
This fixed one bug but caused a lot of others and on balance I think
reverting it is the lesser evil.
This also fixed generator-relocation.js because
(function*(){}).constructor is the function constructor and we try to
set a breakpoint on line 3.
Bug: chromium:109362, chromium:1028689
Fixes: v8:9721
Change-Id: I1bfe6ec57ce77ea7292df91266311f5c0194947e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1940259
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65232}
Refs: v8/v8@dc3a90b
Revert "assert: fix line number calculation after V8 upgrade"
This reverts commit 5981fb7.
Fixes: #32688
PR-URL: #32795
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@targos

Copy link
Copy Markdown
MemberAuthor

Landed in ea85768

@targostargos closed this Apr 28, 2020
@targos
targos deleted the fix-new-function-v13 branch April 28, 2020 06:52
@BridgeARBridgeAR mentioned this pull request Apr 28, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib / srcIssues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@targos@nodejs-github-bot@bnoordhuis