From e9447fd20f070cbc0d54e0550344cc6938dedc0c Mon Sep 17 00:00:00 2001 From: Igor Sheludko Date: Fri, 26 Sep 2025 13:40:01 +0200 Subject: [PATCH] Fix Node-CI build after recent V8 updates --- src/node.cc | 3 --- src/util-inl.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/node.cc b/src/node.cc index 3ac31b5e57f180..628f219cbeeb34 100644 --- a/src/node.cc +++ b/src/node.cc @@ -789,9 +789,6 @@ static ExitCode ProcessGlobalArgsInternal(std::vector* args, v8_args.emplace_back("--js-source-phase-imports"); - // WebAssembly JS Promise Integration - v8_args.emplace_back("--experimental-wasm-jspi"); - #ifdef __POSIX__ // Block SIGPROF signals when sleeping in epoll_wait/kevent/etc. Avoids the // performance penalty of frequent EINTR wakeups when the profiler is running. diff --git a/src/util-inl.h b/src/util-inl.h index 57ef6a15fd6ea4..4ec451aa2aa9ba 100644 --- a/src/util-inl.h +++ b/src/util-inl.h @@ -723,7 +723,7 @@ inline v8::MaybeLocal NewDictionaryInstanceNullProto( if (value.IsEmpty()) return v8::MaybeLocal(); } v8::Local obj = tmpl->NewInstance(context, property_values); - if (obj->SetPrototypeV2(context, v8::Null(context->GetIsolate())) + if (obj->SetPrototypeV2(context, v8::Null(v8::Isolate::GetCurrent())) .IsNothing()) { return v8::MaybeLocal(); }