From 1da2afcc267c4bd8cd5bbb7603c99ece67fe4974 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sun, 5 Mar 2017 02:18:46 +0100 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Franziska Hinkelmann --- src/env.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/env.h b/src/env.h index b3bc79d4ce9d04..28f9e0c1728fd9 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