Skip to content

Commit

Permalink
deps: V8: cherry-pick 01a47f3ffff2
Browse files Browse the repository at this point in the history
Original commit message:

    [cfi] Add missing 'typename' in SegmentedTable

    Makes the code more consistent and fixes compilation on older Clang
    versions.

    Change-Id: I82abebd500e6651ac5c5b180cd7b49b4f20e8299
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5805956
    Reviewed-by: Samuel Groß <[email protected]>
    Commit-Queue: Michaël Zasso <[email protected]>
    Reviewed-by: Stephen Röttger <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#95809}

Refs: v8/v8@01a47f3
PR-URL: #54536
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
  • Loading branch information
targos authored and nodejs-github-bot committed Sep 19, 2024
1 parent 762a440 commit 1e16779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.7',
'v8_embedder_string': '-node.8',

##### V8 defaults for Node.js #####

Expand Down
2 changes: 1 addition & 1 deletion deps/v8/src/common/segmented-table-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void SegmentedTable<Entry, size>::TearDown() {
}

template <typename Entry, size_t size>
SegmentedTable<Entry, size>::FreelistHead
typename SegmentedTable<Entry, size>::FreelistHead
SegmentedTable<Entry, size>::InitializeFreeList(Segment segment,
uint32_t start_offset) {
DCHECK_LT(start_offset, kEntriesPerSegment);
Expand Down

0 comments on commit 1e16779

Please sign in to comment.