mirror of
https://github.com/nodejs/node.git
synced 2026-12-04 23:08:50 -05:00
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: https://github.com/nodejs/node/pull/32831 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
c3866a1b3e
commit
6b5ea2efa2
3 files changed
+3
-2
No files matched your search
+1
-1
@@ -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.2',
|
||||
'v8_embedder_string': '-node.3',
|
||||
|
||||
##### V8 defaults for Node.js #####
|
||||
|
||||
|
||||
+1
@@ -4490,6 +4490,7 @@ GlobalAccessFeedback::GlobalAccessFeedback(PropertyCellRef cell,
|
||||
|
||||
GlobalAccessFeedback::GlobalAccessFeedback(FeedbackSlotKind slot_kind)
|
||||
: ProcessedFeedback(kGlobalAccess, slot_kind),
|
||||
cell_or_context_(base::nullopt),
|
||||
index_and_immutable_(0 /* doesn't matter */) {
|
||||
DCHECK(IsGlobalICKind(slot_kind));
|
||||
}
|
||||
|
||||
+1
-1
@@ -286,7 +286,7 @@ Interpreter::NewSourcePositionCollectionJob(
|
||||
auto job = std::make_unique<InterpreterCompilationJob>(parse_info, literal,
|
||||
allocator, nullptr);
|
||||
job->compilation_info()->SetBytecodeArray(existing_bytecode);
|
||||
return job;
|
||||
return std::unique_ptr<UnoptimizedCompilationJob> { static_cast<UnoptimizedCompilationJob*>(job.release()) };
|
||||
}
|
||||
|
||||
void Interpreter::ForEachBytecode(
|
||||
|
||||
Reference in new issue
Block a user