Repository navigation
chore: cherry-pick 6 changes from v8 - #50993
Merged
Merged
Conversation
[maglev] Fix deopt use counting for deopt scope data We shouldn't count the deopt use when creating the scope data, but only when creating the deopt frame. If the scope was unused, then we were over counting, not really a correctness issue though. If the scope was used twice, we were under counting and we can underflow the counting when removing the use of a node. Fixed: 470566252 Change-Id: I7b6f5647d1ed1f9a7c915d3682f10cfc71a5924c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7415271 Commit-Queue: Toon Verwaest <[email protected]> Reviewed-by: Toon Verwaest <[email protected]> Commit-Queue: Victor Gomes <[email protected]> Auto-Submit: Victor Gomes <[email protected]> Cr-Commit-Position: refs/heads/main@{#104601}
[*lev] Correctly update use counts for nested builtin continuations Fixed: 484527367 Change-Id: I4cda8c1bbb2788fca06b564eae509511aec0957e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7593054 Reviewed-by: Victor Gomes <[email protected]> Auto-Submit: Darius Mercadier <[email protected]> Commit-Queue: Darius Mercadier <[email protected]> Cr-Commit-Position: refs/heads/main@{#105381}
[inspector] Use std::shared_ptr for InspectedContext Unfortunately at this point we are not able to move `InspectedContext` to the managed C++ heap due to missing Heap* collections and the lack of labeling retainer links. The next best thing we can do for now is use std::shared_ptr for InspectedContext and keep an instance on the stack every time we can potentially transition into user JS. [email protected] Fixed: 486927780 Change-Id: I5e4921521a24cc3cd53ffb6cb5b6b6f9d98490e2 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7613210 Auto-Submit: Simon Zünd <[email protected]> Reviewed-by: Benedikt Meurer <[email protected]> Commit-Queue: Simon Zünd <[email protected]> Commit-Queue: Benedikt Meurer <[email protected]> Cr-Commit-Position: refs/heads/main@{#105489}
Merged: [maglev] Avoid eliding Smi checks too aggressively (cherry picked from commit 433b2912c5cb94ed0979c8284e96e4d08416b620) Bug: 491884710 Change-Id: Id73c522c6f55cb05167f436c2ee7f60e0db71840 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7673820 Reviewed-by: Leszek Swirski <[email protected]> Commit-Queue: Leszek Swirski <[email protected]> Auto-Submit: Darius Mercadier <[email protected]> Cr-Commit-Position: refs/branch-heads/14.6@{#45} Cr-Branched-From: e04c3a1a2543bdbee7beac8846c9cbe8f657636f-refs/heads/14.6.202@{#1} Cr-Branched-From: 3b0b01e6594ec362369dc16f069012a81748c8ba-refs/heads/main@{#105132}
Merged: [compiler][arm64] Force explicit zero-extension of load index
This is the merge-commit for:
1) [arm64][compiler] Always emit truncation to word32
cherry picked from commit 522e74a35cf4e53c3708ea396c299bfbb29d8489
2) [compiler][arm64] Reenable implicit truncation and force
explicit zero-extension of load/store index
cherry picked from commit 4ef5cc27aa50b4a7e3096bbbffaf5058a811a2a9
Bug: 496301615
Change-Id: I3e5e13a90ad0a43768c9cd46a7ebd99d0f6a4e11
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7715044
Commit-Queue: Matthias Liedtke <[email protected]>
Commit-Queue: Darius Mercadier <[email protected]>
Reviewed-by: Darius Mercadier <[email protected]>
Auto-Submit: Matthias Liedtke <[email protected]>
Cr-Commit-Position: refs/branch-heads/14.6@{#63}
Cr-Branched-From: e04c3a1a2543bdbee7beac8846c9cbe8f657636f-refs/heads/14.6.202@{#1}
Cr-Branched-From: 3b0b01e6594ec362369dc16f069012a81748c8ba-refs/heads/main@{#105132}
Merged: [maglev] Account for phi smi type widening in BuildCheckHeapObject Bug: 495679730 (cherry picked from commit c1e78b455e3224e286914b5ac241fbea064cb51d) Change-Id: I77d6f184af8d62a0dbb643c6f34d4a3530b32b63 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7715042 Auto-Submit: Darius Mercadier <[email protected]> Reviewed-by: Leszek Swirski <[email protected]> Commit-Queue: Leszek Swirski <[email protected]> Cr-Commit-Position: refs/branch-heads/14.6@{#65} Cr-Branched-From: e04c3a1a2543bdbee7beac8846c9cbe8f657636f-refs/heads/14.6.202@{#1} Cr-Branched-From: 3b0b01e6594ec362369dc16f069012a81748c8ba-refs/heads/main@{#105132}
MarshallOfSound
approved these changes
Apr 13, 2026
|
Release Notes Persisted
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
Backports six upstream v8 changes to the maglev compiler, the inspector InspectedContext lifetime handling, and the arm64 instruction selector. Each is a straightforward adaptation of the upstream commit against v8 14.2.231.22; there are no Electron-specific changes to the logic.
cherry-pick a0570afad500 from v8
[maglev] Fix deopt use counting for deopt scope data
Fixed: 470566252
Change-Id: I7b6f5647d1ed1f9a7c915d3682f10cfc71a5924c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7415271
Cr-Commit-Position: refs/heads/main@{#104601}
cherry-pick b54c7841e2cd from v8
[*lev] Correctly update use counts for nested builtin continuations
Fixed: 484527367
Change-Id: I4cda8c1bbb2788fca06b564eae509511aec0957e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7593054
Cr-Commit-Position: refs/heads/main@{#105381}
cherry-pick ba0258ba9609 from v8
[inspector] Use std::shared_ptr for InspectedContext
Fixed: 486927780
Change-Id: I5e4921521a24cc3cd53ffb6cb5b6b6f9d98490e2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7613210
Cr-Commit-Position: refs/heads/main@{#105489}
cherry-pick 2d9ff4098967 from v8
Merged: [maglev] Avoid eliding Smi checks too aggressively
Bug: 491884710
Change-Id: Id73c522c6f55cb05167f436c2ee7f60e0db71840
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7673820
Cr-Commit-Position: refs/branch-heads/14.6@{#45}
cherry-pick f297f82fea96 from v8
Merged: [compiler][arm64] Force explicit zero-extension of load index
Bug: 496301615
Change-Id: I3e5e13a90ad0a43768c9cd46a7ebd99d0f6a4e11
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7715044
Cr-Commit-Position: refs/branch-heads/14.6@{#63}
cherry-pick 021c5b193bd4 from v8
Merged: [maglev] Account for phi smi type widening in BuildCheckHeapObject
Bug: 495679730
Change-Id: I77d6f184af8d62a0dbb643c6f34d4a3530b32b63
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7715042
Cr-Commit-Position: refs/branch-heads/14.6@{#65}
Checklist
Release Notes
Notes: Backported upstream v8 fixes for several maglev, inspector, and arm64 code-generation edge cases.