Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2020-01-07 16:18:56 +0300
committerMyles Borins <mylesborins@google.com>2020-01-16 09:38:53 +0300
commit4259afe583a06f180a843d9559f8327c3c095ff1 (patch)
tree22c1102deda186cc539ea1fa13f6b45d463701d1 /src/api
parent6050236c3dfa22fd152bfa62e008e8db0d558e1f (diff)
src: remove node::InitializeV8Platform()
This API method was introduced in commit 90ae4bd0c9 ("src: add InitializeV8Platform function") from July 2018 but wasn't properly exported and therefore not usable on Windows or with shared library builds. The motivation from the commit log is mainly about making it easier to wire up the cctests and there are better ways to do that. Refs: https://github.com/nodejs/node/pull/31217 PR-URL: https://github.com/nodejs/node/pull/31245 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/api')
-rw-r--r--src/api/environment.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/api/environment.cc b/src/api/environment.cc
index 95ef13dfb1f..df12331308f 100644
--- a/src/api/environment.cc
+++ b/src/api/environment.cc
@@ -366,11 +366,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;
}