Skip to content

Commit

Permalink
src: remove unused async hooks methods
Browse files Browse the repository at this point in the history
Backport-PR-URL: #18179
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 authored and MylesBorins committed Jan 19, 2018
1 parent 5a199a9 commit 089f18e
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 @@ -117,19 +117,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 @@ -408,10 +408,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 089f18e

Please sign in to comment.