Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update V8 to 12.2 #51362

Closed
wants to merge 23 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
db916cd
deps: update V8 to 12.2.281.27
targos Mar 30, 2024
242a334
build: reset embedder string to "-node.0"
targos Mar 30, 2024
d886238
src: update NODE_MODULE_VERSION to 124
targos Feb 26, 2024
3165236
deps: always define V8_EXPORT_PRIVATE as no-op
targos Sep 21, 2022
a00dd7c
deps: silence irrelevant V8 warning
targos Jun 21, 2022
1b4b26e
deps: disable V8 concurrent sparkplug compilation
targos Apr 6, 2023
4982095
deps: avoid compilation error with ASan
targos Jul 31, 2023
77039ae
deps: remove usage of a C++20 feature from V8
targos Aug 10, 2023
20df4e3
deps: patch V8 to avoid duplicated zlib symbol
targos Sep 16, 2023
6ab1460
deps: patch V8 to support compilation with MSVC
StefanStojanovic Jan 31, 2024
16481d9
deps: V8: cherry-pick f8d5e576b814
richardlau Mar 21, 2024
9e9a413
deps: V8: backport c4be0a97f981
richardlau Mar 21, 2024
f939ad2
tools: update V8 gypfiles for 12.0
targos Nov 4, 2023
aa6d16f
tools: update V8 gypfiles for 12.1
targos Nov 4, 2023
2ba042a
tools: update V8 gypfiles for 12.2
targos Jan 23, 2024
80e374c
tools: roughly port v8_abseil to gyp
targos Nov 15, 2023
59e4518
src: add missing TryCatch
targos Jan 7, 2024
6696855
src: update default V8 platform to override functions with location
eti-p-doray Dec 11, 2023
1827161
src: use supported API to get stalled TLA messages
targos Mar 11, 2024
d5ac47e
test: allow slightly more diff in memory leak test
targos Jan 7, 2024
c131f74
lib,test: handle new Iterator global
targos Jan 10, 2024
d8b04a9
test: mark some GC-related tests as flaky
targos Mar 30, 2024
f188183
test: mark test-worker-arraybuffer-zerofill as flaky
targos Mar 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deps: always define V8_EXPORT_PRIVATE as no-op
dllexport introduces issues when compiling with MSVC.

PR-URL: #47251
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
targos committed Mar 30, 2024
commit 3165236cc6ddc894f1703876f891d3767bcc2941
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
@@ -37,7 +37,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.0',
'v8_embedder_string': '-node.1',

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

8 changes: 4 additions & 4 deletions deps/v8/src/base/macros.h
Original file line number Diff line number Diff line change
@@ -368,9 +368,9 @@ bool is_inbounds(float_t v) {
// Setup for Windows shared library export.
#define V8_EXPORT_ENUM
#ifdef BUILDING_V8_SHARED_PRIVATE
#define V8_EXPORT_PRIVATE __declspec(dllexport)
#define V8_EXPORT_PRIVATE
#elif USING_V8_SHARED_PRIVATE
#define V8_EXPORT_PRIVATE __declspec(dllimport)
#define V8_EXPORT_PRIVATE
#else
#define V8_EXPORT_PRIVATE
#endif // BUILDING_V8_SHARED
@@ -380,8 +380,8 @@ bool is_inbounds(float_t v) {
// Setup for Linux shared library export.
#if V8_HAS_ATTRIBUTE_VISIBILITY
#ifdef BUILDING_V8_SHARED_PRIVATE
#define V8_EXPORT_PRIVATE __attribute__((visibility("default")))
#define V8_EXPORT_ENUM V8_EXPORT_PRIVATE
#define V8_EXPORT_PRIVATE
#define V8_EXPORT_ENUM
#else
#define V8_EXPORT_PRIVATE
#define V8_EXPORT_ENUM