src: remove unneeded explicit V8 flags

PR-URL: https://github.com/nodejs/node/pull/58230
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
Michaël Zasso committed 2025-05-16 07:05:43 +02:00
1 parent 30897d915c
commit a135c0aea3
1 file changed
-5
-5
View File
@@ -847,11 +847,6 @@ static ExitCode InitializeNodeWithArgsInternal(
// is security relevant, for Node it's less important.
V8::SetFlagsFromString("--no-freeze-flags-after-init");
// These features are completed and enabled by default in Chrome, but not
// in V8.
V8::SetFlagsFromString("--js-explicit-resource-management");
V8::SetFlagsFromString("--js-float16array");
#if defined(NODE_V8_OPTIONS)
// Should come before the call to V8::SetFlagsFromCommandLine()
// so the user can disable a flag --foo at run-time by passing