Permalink
Browse files

src: remove unused persistent properties from env

PR-URL: #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>
  • Loading branch information...
addaleax authored and MylesBorins committed Aug 30, 2017
1 parent e3f5c58 commit a83d427091a53dee05567f9514eabbcee523afb3
Showing with 0 additions and 5 deletions.
  1. +0 −3 src/env.h
  2. +0 −1 src/js_stream.cc
  3. +0 −1 src/tls_wrap.cc
View
@@ -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) \
View
@@ -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
View
@@ -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());

0 comments on commit a83d427

Please sign in to comment.