Skip to content

Commit 482c27e

Browse files
committed
src: remove unused async hooks methods
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]>
1 parent 1e84e69 commit 482c27e

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/env-inl.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,11 @@ Environment::AsyncHooks::fields() {
9696
return fields_;
9797
}
9898

99-
inline int Environment::AsyncHooks::fields_count() const {
100-
return kFieldsCount;
101-
}
102-
10399
inline AliasedBuffer<double, v8::Float64Array>&
104100
Environment::AsyncHooks::async_id_fields() {
105101
return async_id_fields_;
106102
}
107103

108-
inline int Environment::AsyncHooks::async_id_fields_count() const {
109-
return kUidFieldsCount;
110-
}
111-
112104
inline v8::Local<v8::String> Environment::AsyncHooks::provider_string(int idx) {
113105
return providers_[idx].Get(isolate_);
114106
}

src/env.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,7 @@ class Environment {
388388
AsyncHooks() = delete;
389389

390390
inline AliasedBuffer<uint32_t, v8::Uint32Array>& fields();
391-
inline int fields_count() const;
392-
393391
inline AliasedBuffer<double, v8::Float64Array>& async_id_fields();
394-
inline int async_id_fields_count() const;
395392

396393
inline v8::Local<v8::String> provider_string(int idx);
397394

0 commit comments

Comments
 (0)