File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ int Environment::InitializeInspector(
233
233
234
234
return 0 ;
235
235
}
236
- #endif // HAVE_INSPECTOR && NODE_USE_V8_PLATFORM
236
+ #endif // HAVE_INSPECTOR
237
237
238
238
#define ATOMIC_WAIT_EVENTS (V ) \
239
239
V (kStartWait , " started" ) \
@@ -1069,11 +1069,14 @@ InitializationResult InitializeOncePerProcess(int argc, char** argv) {
1069
1069
V8::SetEntropySource (crypto::EntropySource);
1070
1070
#endif // HAVE_OPENSSL
1071
1071
1072
+ #if NODE_USE_V8_PLATFORM
1072
1073
per_process::v8_platform.Initialize (
1073
1074
static_cast <int >(per_process::cli_options->v8_thread_pool_size ));
1074
1075
V8::Initialize ();
1075
1076
performance::performance_v8_start = PERFORMANCE_NOW ();
1076
1077
per_process::v8_initialized = true ;
1078
+ #endif
1079
+
1077
1080
return result;
1078
1081
}
1079
1082
You can’t perform that action at this time.
0 commit comments