Skip to content

Commit

Permalink
src: remove unused async hooks methods
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
addaleax committed Dec 20, 2017
1 parent 1e84e69 commit 482c27e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions src/env-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_);
}
Expand Down
3 changes: 0 additions & 3 deletions src/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 482c27e

Please sign in to comment.