deps: patch V8 to run on older XCode versions · nodejs/node@5451975 · GitHub
Skip to content

Commit 5451975

Browse files
ryzokukentargos
authored andcommitted
deps: patch V8 to run on older XCode versions
Patch V8 (compiler/js-heap-broker.cc) to remove the use of an optional property, which is a fairly new C++ feature, since that requires a newer XCode version than the minimum requirement in BUILDING.md and thus breaks CI. PR-URL: #32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent c460f7a commit 5451975

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

common.gypi

Lines changed: 1 addition & 1 deletion

deps/v8/src/compiler/js-heap-broker.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4466,6 +4466,7 @@ GlobalAccessFeedback::GlobalAccessFeedback(PropertyCellRef cell,
44664466

44674467
GlobalAccessFeedback::GlobalAccessFeedback(FeedbackSlotKind slot_kind)
44684468
: ProcessedFeedback(kGlobalAccess, slot_kind),
4469+
cell_or_context_(base::nullopt),
44694470
index_and_immutable_(0 /* doesn't matter */) {
44704471
DCHECK(IsGlobalICKind(slot_kind));
44714472
}

deps/v8/src/interpreter/interpreter.cc

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)