src: remove unused async hooks methods
PR-URL: https://github.com/nodejs/node/pull/17757 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: vdeturckheim <vlad2t@hotmail.com>
This commit is contained in:
parent
1e84e69eac
commit
482c27e13d
@ -96,19 +96,11 @@ Environment::AsyncHooks::fields() {
|
||||
return fields_;
|
||||
}
|
||||
|
||||
inline int Environment::AsyncHooks::fields_count() const {
|
||||
return kFieldsCount;
|
||||
}
|
||||
|
||||
inline AliasedBuffer<double, v8::Float64Array>&
|
||||
Environment::AsyncHooks::async_id_fields() {
|
||||
return async_id_fields_;
|
||||
}
|
||||
|
||||
inline int Environment::AsyncHooks::async_id_fields_count() const {
|
||||
return kUidFieldsCount;
|
||||
}
|
||||
|
||||
inline v8::Local<v8::String> Environment::AsyncHooks::provider_string(int idx) {
|
||||
return providers_[idx].Get(isolate_);
|
||||
}
|
||||
|
@ -388,10 +388,7 @@ class Environment {
|
||||
AsyncHooks() = delete;
|
||||
|
||||
inline AliasedBuffer<uint32_t, v8::Uint32Array>& fields();
|
||||
inline int fields_count() const;
|
||||
|
||||
inline AliasedBuffer<double, v8::Float64Array>& async_id_fields();
|
||||
inline int async_id_fields_count() const;
|
||||
|
||||
inline v8::Local<v8::String> provider_string(int idx);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user