From fafbacdfec7b528bcf7044ba1123018faddd3359 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Fri, 1 Dec 2023 19:44:47 +0100 Subject: [PATCH] deps: V8: cherry-pick 9a98f96b6d68 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message: [symbol-as-weakmap-key] Stage the feature Bug: v8:12947 Change-Id: I0a151a6b301ee93675cc9f87a4fa24cb1be76462 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3928061 Auto-Submit: Shu-yu Guo Commit-Queue: Marja Hölttä Reviewed-by: Marja Hölttä Cr-Commit-Position: refs/heads/main@{#83483} Refs: https://github.com/v8/v8/commit/9a98f96b6d68c203a773164df8d4abedd31991ac PR-URL: https://github.com/nodejs/node/pull/51004 Reviewed-By: Chengzhong Wu --- common.gypi | 2 +- deps/v8/src/flags/flag-definitions.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common.gypi b/common.gypi index 7428367750fac2..2b3e0f97b61181 100644 --- a/common.gypi +++ b/common.gypi @@ -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.30', + 'v8_embedder_string': '-node.31', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/src/flags/flag-definitions.h b/deps/v8/src/flags/flag-definitions.h index 55e380a49e7ef5..4627f96c07ed60 100644 --- a/deps/v8/src/flags/flag-definitions.h +++ b/deps/v8/src/flags/flag-definitions.h @@ -307,8 +307,7 @@ DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony features") "harmony ResizableArrayBuffer / GrowableSharedArrayBuffer") \ V(harmony_temporal, "Temporal") \ V(harmony_shadow_realm, "harmony ShadowRealm") \ - V(harmony_struct, "harmony structs and shared structs") \ - V(harmony_symbol_as_weakmap_key, "harmony symbols as weakmap keys") + V(harmony_struct, "harmony structs and shared structs") #ifdef V8_INTL_SUPPORT #define HARMONY_INPROGRESS(V) \ @@ -319,8 +318,9 @@ DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony features") #endif // Features that are complete (but still behind the --harmony flag). -#define HARMONY_STAGED_BASE(V) \ - V(harmony_array_grouping, "harmony array grouping") +#define HARMONY_STAGED_BASE(V) \ + V(harmony_array_grouping, "harmony array grouping") \ + V(harmony_symbol_as_weakmap_key, "harmony symbols as weakmap keys") #ifdef V8_INTL_SUPPORT #define HARMONY_STAGED(V) \