mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
src: remove unused persistent properties from env
PR-URL: https://github.com/nodejs/node/pull/15096 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
This commit is contained in:
1 parent
4bd44c11a5
commit
f91897e741
3 files changed
-5
No files matched your search
@@ -295,13 +295,11 @@ struct http2_state;
|
||||
V(async_hooks_before_function, v8::Function) \
|
||||
V(async_hooks_after_function, v8::Function) \
|
||||
V(binding_cache_object, v8::Object) \
|
||||
V(buffer_constructor_function, v8::Function) \
|
||||
V(buffer_prototype_object, v8::Object) \
|
||||
V(context, v8::Context) \
|
||||
V(domain_array, v8::Array) \
|
||||
V(domains_stack_array, v8::Array) \
|
||||
V(inspector_console_api_object, v8::Object) \
|
||||
V(jsstream_constructor_template, v8::FunctionTemplate) \
|
||||
V(module_load_list_array, v8::Array) \
|
||||
V(pbkdf2_constructor_template, v8::ObjectTemplate) \
|
||||
V(pipe_constructor_template, v8::FunctionTemplate) \
|
||||
@@ -318,7 +316,6 @@ struct http2_state;
|
||||
V(tcp_constructor_template, v8::FunctionTemplate) \
|
||||
V(tick_callback_function, v8::Function) \
|
||||
V(tls_wrap_constructor_function, v8::Function) \
|
||||
V(tls_wrap_constructor_template, v8::FunctionTemplate) \
|
||||
V(tty_constructor_template, v8::FunctionTemplate) \
|
||||
V(udp_constructor_function, v8::Function) \
|
||||
V(url_constructor_function, v8::Function) \
|
||||
|
||||
@@ -230,7 +230,6 @@ void JSStream::Initialize(Local<Object> target,
|
||||
|
||||
StreamBase::AddMethods<JSStream>(env, t, StreamBase::kFlagHasWritev);
|
||||
target->Set(jsStreamString, t->GetFunction());
|
||||
env->set_jsstream_constructor_template(t);
|
||||
}
|
||||
|
||||
} // namespace node
|
||||
|
||||
@@ -962,7 +962,6 @@ void TLSWrap::Initialize(Local<Object> target,
|
||||
env->SetProtoMethod(t, "setServername", SetServername);
|
||||
#endif // SSL_CRT_SET_TLSEXT_SERVERNAME_CB
|
||||
|
||||
env->set_tls_wrap_constructor_template(t);
|
||||
env->set_tls_wrap_constructor_function(t->GetFunction());
|
||||
|
||||
target->Set(tlsWrapString, t->GetFunction());
|
||||
|
||||
Reference in new issue
Block a user