Skip to content

Commit 99c62cc

Browse files
addaleaxMylesBorins
authored andcommitted
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 b1a8ac7 commit 99c62cc

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/env-inl.h

-8
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,11 @@ Environment::AsyncHooks::fields() {
9090
return fields_;
9191
}
9292

93-
inline int Environment::AsyncHooks::fields_count() const {
94-
return kFieldsCount;
95-
}
96-
9793
inline AliasedBuffer<double, v8::Float64Array>&
9894
Environment::AsyncHooks::async_id_fields() {
9995
return async_id_fields_;
10096
}
10197

102-
inline int Environment::AsyncHooks::async_id_fields_count() const {
103-
return kUidFieldsCount;
104-
}
105-
10698
inline v8::Local<v8::String> Environment::AsyncHooks::provider_string(int idx) {
10799
return providers_[idx].Get(isolate_);
108100
}

src/env.h

-3
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,7 @@ class Environment {
387387
AsyncHooks() = delete;
388388

389389
inline AliasedBuffer<uint32_t, v8::Uint32Array>& fields();
390-
inline int fields_count() const;
391-
392390
inline AliasedBuffer<double, v8::Float64Array>& async_id_fields();
393-
inline int async_id_fields_count() const;
394391

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

0 commit comments

Comments
 (0)