diff --git a/src/env.h b/src/env.h index 02f740cfa3e9e8..9f9a3a23e314d2 100644 --- a/src/env.h +++ b/src/env.h @@ -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) \ diff --git a/src/js_stream.cc b/src/js_stream.cc index 2e7f082e289918..b62dcf3ef5b407 100644 --- a/src/js_stream.cc +++ b/src/js_stream.cc @@ -230,7 +230,6 @@ void JSStream::Initialize(Local target, StreamBase::AddMethods(env, t, StreamBase::kFlagHasWritev); target->Set(jsStreamString, t->GetFunction()); - env->set_jsstream_constructor_template(t); } } // namespace node diff --git a/src/tls_wrap.cc b/src/tls_wrap.cc index 77d8ce7b5ea447..b5829cf5b82f6c 100644 --- a/src/tls_wrap.cc +++ b/src/tls_wrap.cc @@ -962,7 +962,6 @@ void TLSWrap::Initialize(Local 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());