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
  • Loading branch information
targos committed Aug 26, 2024
1 parent 59a4a00 commit 4bfe870
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 4bfe870

Please sign in to comment.