Skip to content

Commit 1da2afc

Browse files
addaleaxitaloacasas
authored andcommitted
src: drop the NODE_ISOLATE_SLOT macro
The `NODE_ISOLATE_SLOT` macro has been unused since c3cd453. PR-URL: #11692 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
1 parent aaf8536 commit 1da2afc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/env.h

-8
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,6 @@ namespace node {
3636
#define NODE_CONTEXT_EMBEDDER_DATA_INDEX 32
3737
#endif
3838

39-
// The slot 0 and 1 had already been taken by "gin" and "blink" in Chrome,
40-
// and the size of isolate's slots is 4 by default, so using 3 should
41-
// hopefully make node work independently when embedded into other
42-
// application.
43-
#ifndef NODE_ISOLATE_SLOT
44-
#define NODE_ISOLATE_SLOT 3
45-
#endif
46-
4739
// The number of items passed to push_values_to_array_function has diminishing
4840
// returns around 8. This should be used at all call sites using said function.
4941
#ifndef NODE_PUSH_VAL_TO_ARRAY_MAX

0 commit comments

Comments
 (0)