summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2017-03-05 02:18:46 +0100
committerFranziska Hinkelmann <franzih@chromium.org>2017-03-09 11:03:39 +0100
commit6d16048da634eaf2254250262b9016ab69e1f57b (patch)
tree0b519483d5fdd439475c38bba9e8563e67e17123 /src
parent7c8bbe37b7a0e07a5754bc21cb00166240953f49 (diff)
downloadandroid-node-v8-6d16048da634eaf2254250262b9016ab69e1f57b.tar.gz
android-node-v8-6d16048da634eaf2254250262b9016ab69e1f57b.tar.bz2
android-node-v8-6d16048da634eaf2254250262b9016ab69e1f57b.zip
src: drop the NODE_ISOLATE_SLOT macro
The `NODE_ISOLATE_SLOT` macro has been unused since c3cd453cbae. PR-URL: https://github.com/nodejs/node/pull/11692 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/env.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/env.h b/src/env.h
index b3bc79d4ce..28f9e0c172 100644
--- a/src/env.h
+++ b/src/env.h
@@ -36,14 +36,6 @@ namespace node {
#define NODE_CONTEXT_EMBEDDER_DATA_INDEX 32
#endif
-// The slot 0 and 1 had already been taken by "gin" and "blink" in Chrome,
-// and the size of isolate's slots is 4 by default, so using 3 should
-// hopefully make node work independently when embedded into other
-// application.
-#ifndef NODE_ISOLATE_SLOT
-#define NODE_ISOLATE_SLOT 3
-#endif
-
// The number of items passed to push_values_to_array_function has diminishing
// returns around 8. This should be used at all call sites using said function.
#ifndef NODE_PUSH_VAL_TO_ARRAY_MAX