Skip to content

Commit 7d63d41

Browse files
authored
Fix Node-CI build after recent V8 updates (#227)
1 parent d749bd2 commit 7d63d41

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/node.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -789,9 +789,6 @@ static ExitCode ProcessGlobalArgsInternal(std::vector<std::string>* args,
789789

790790
v8_args.emplace_back("--js-source-phase-imports");
791791

792-
// WebAssembly JS Promise Integration
793-
v8_args.emplace_back("--experimental-wasm-jspi");
794-
795792
#ifdef __POSIX__
796793
// Block SIGPROF signals when sleeping in epoll_wait/kevent/etc. Avoids the
797794
// performance penalty of frequent EINTR wakeups when the profiler is running.

src/util-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ inline v8::MaybeLocal<v8::Object> NewDictionaryInstanceNullProto(
723723
if (value.IsEmpty()) return v8::MaybeLocal<v8::Object>();
724724
}
725725
v8::Local<v8::Object> obj = tmpl->NewInstance(context, property_values);
726-
if (obj->SetPrototypeV2(context, v8::Null(context->GetIsolate()))
726+
if (obj->SetPrototypeV2(context, v8::Null(v8::Isolate::GetCurrent()))
727727
.IsNothing()) {
728728
return v8::MaybeLocal<v8::Object>();
729729
}

0 commit comments

Comments
 (0)