From 482c27e13d46a574e801d21fd637ad06945b9d36 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 19 Dec 2017 15:04:07 +0100 Subject: [PATCH] src: remove unused async hooks methods PR-URL: https://github.com/nodejs/node/pull/17757 Reviewed-By: Anatoli Papirovski Reviewed-By: Colin Ihrig Reviewed-By: Daniel Bevenius Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater Reviewed-By: Jon Moss Reviewed-By: Yuta Hiroto Reviewed-By: Timothy Gu Reviewed-By: vdeturckheim --- src/env-inl.h | 8 -------- src/env.h | 3 --- 2 files changed, 11 deletions(-) diff --git a/src/env-inl.h b/src/env-inl.h index 14516317285..976ebae7dd4 100644 --- a/src/env-inl.h +++ b/src/env-inl.h @@ -96,19 +96,11 @@ Environment::AsyncHooks::fields() { return fields_; } -inline int Environment::AsyncHooks::fields_count() const { - return kFieldsCount; -} - inline AliasedBuffer& Environment::AsyncHooks::async_id_fields() { return async_id_fields_; } -inline int Environment::AsyncHooks::async_id_fields_count() const { - return kUidFieldsCount; -} - inline v8::Local Environment::AsyncHooks::provider_string(int idx) { return providers_[idx].Get(isolate_); } diff --git a/src/env.h b/src/env.h index 81462299432..13517f75d9f 100644 --- a/src/env.h +++ b/src/env.h @@ -388,10 +388,7 @@ class Environment { AsyncHooks() = delete; inline AliasedBuffer& fields(); - inline int fields_count() const; - inline AliasedBuffer& async_id_fields(); - inline int async_id_fields_count() const; inline v8::Local provider_string(int idx);