mirror of https://github.com/nodejs/node.git
src: remove unused `contextify_global_private_symbol`
`contextify_global_private_symbol` is no longer used. It was used to hold a new context's global object, but the approach has been changed to hold a ContextifyContext wrapper using `contextify_context_private_symbol`. Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: https://github.com/nodejs/node/pull/45128 Refs: https://github.com/nodejs/node/pull/44796 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>pull/45159/head
parent
c02141d146
commit
deb7710a94
|
@ -20,7 +20,6 @@
|
|||
#define PER_ISOLATE_PRIVATE_SYMBOL_PROPERTIES(V) \
|
||||
V(arrow_message_private_symbol, "node:arrowMessage") \
|
||||
V(contextify_context_private_symbol, "node:contextify:context") \
|
||||
V(contextify_global_private_symbol, "node:contextify:global") \
|
||||
V(decorated_private_symbol, "node:decorated") \
|
||||
V(napi_type_tag, "node:napi:type_tag") \
|
||||
V(napi_wrapper, "node:napi:wrapper") \
|
||||
|
|
|
@ -8,15 +8,14 @@ declare namespace InternalUtilBinding {
|
|||
}
|
||||
|
||||
declare function InternalBinding(binding: 'util'): {
|
||||
// PER_ISOLATE_PRIVATE_SYMBOL_PROPERTIES, defined in src/env.h
|
||||
// PER_ISOLATE_PRIVATE_SYMBOL_PROPERTIES, defined in src/env_properties.h
|
||||
arrow_message_private_symbol: 1;
|
||||
contextify_context_private_symbol: 2;
|
||||
contextify_global_private_symbol: 3;
|
||||
decorated_private_symbol: 4;
|
||||
napi_type_tag: 5;
|
||||
napi_wrapper: 6;
|
||||
untransferable_object_private_symbol: 7;
|
||||
exiting_aliased_Uint32Array: 8;
|
||||
decorated_private_symbol: 3;
|
||||
napi_type_tag: 4;
|
||||
napi_wrapper: 5;
|
||||
untransferable_object_private_symbol: 6;
|
||||
exiting_aliased_Uint32Array: 7;
|
||||
|
||||
kPending: 0;
|
||||
kFulfilled: 1;
|
||||
|
|
Loading…
Reference in New Issue