Skip to content

Commit 089f18e

Browse files
addaleaxMylesBorins
authored andcommitted
src: remove unused async hooks methods
Backport-PR-URL: #18179 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>
1 parent 5a199a9 commit 089f18e

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
@@ -117,19 +117,11 @@ Environment::AsyncHooks::fields() {
117117
return fields_;
118118
}
119119

120-
inline int Environment::AsyncHooks::fields_count() const {
121-
return kFieldsCount;
122-
}
123-
124120
inline AliasedBuffer<double, v8::Float64Array>&
125121
Environment::AsyncHooks::async_id_fields() {
126122
return async_id_fields_;
127123
}
128124

129-
inline int Environment::AsyncHooks::async_id_fields_count() const {
130-
return kUidFieldsCount;
131-
}
132-
133125
inline v8::Local<v8::String> Environment::AsyncHooks::provider_string(int idx) {
134126
return providers_[idx].Get(isolate_);
135127
}

src/env.h

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

410410
inline AliasedBuffer<uint32_t, v8::Uint32Array>& fields();
411-
inline int fields_count() const;
412-
413411
inline AliasedBuffer<double, v8::Float64Array>& async_id_fields();
414-
inline int async_id_fields_count() const;
415412

416413
inline v8::Local<v8::String> provider_string(int idx);
417414

0 commit comments

Comments
 (0)