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 <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: Timothy Gu <[email protected]>
Reviewed-By: vdeturckheim <[email protected]>
  • 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.