Skip to content

Commit 089f18e

Browse files
addaleaxMylesBorins
authored andcommittedJan 19, 2018
src: remove unused async hooks methods
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]>
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

-8
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

-3
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)
Please sign in to comment.