diff --git a/src/api/environment.cc b/src/api/environment.cc index 4cb2da4b860ecf..e208255f493864 100644 --- a/src/api/environment.cc +++ b/src/api/environment.cc @@ -352,11 +352,6 @@ MultiIsolatePlatform* CreatePlatform( return new NodePlatform(thread_pool_size, tracing_controller); } -MultiIsolatePlatform* InitializeV8Platform(int thread_pool_size) { - per_process::v8_platform.Initialize(thread_pool_size); - return per_process::v8_platform.Platform(); -} - void FreePlatform(MultiIsolatePlatform* platform) { delete platform; } diff --git a/src/node.h b/src/node.h index aadb60ea557f43..861e03a8ad97aa 100644 --- a/src/node.h +++ b/src/node.h @@ -379,7 +379,6 @@ NODE_EXTERN MultiIsolatePlatform* GetMainThreadMultiIsolatePlatform(); NODE_EXTERN MultiIsolatePlatform* CreatePlatform( int thread_pool_size, node::tracing::TracingController* tracing_controller); -MultiIsolatePlatform* InitializeV8Platform(int thread_pool_size); NODE_EXTERN void FreePlatform(MultiIsolatePlatform* platform); NODE_EXTERN void EmitBeforeExit(Environment* env);