diff --git a/src/env-inl.h b/src/env-inl.h index b27c5ec47b02bc..842ed4082843ac 100644 --- a/src/env-inl.h +++ b/src/env-inl.h @@ -503,33 +503,6 @@ inline std::map* Environment::performance_marks() { return &performance_marks_; } -inline Environment* Environment::from_performance_check_handle( - uv_check_t* handle) { - return ContainerOf(&Environment::performance_check_handle_, handle); -} - -inline Environment* Environment::from_performance_idle_handle( - uv_idle_t* handle) { - return ContainerOf(&Environment::performance_idle_handle_, handle); -} - -inline Environment* Environment::from_performance_prepare_handle( - uv_prepare_t* handle) { - return ContainerOf(&Environment::performance_prepare_handle_, handle); -} - -inline uv_check_t* Environment::performance_check_handle() { - return &performance_check_handle_; -} - -inline uv_idle_t* Environment::performance_idle_handle() { - return &performance_idle_handle_; -} - -inline uv_prepare_t* Environment::performance_prepare_handle() { - return &performance_prepare_handle_; -} - inline IsolateData* Environment::isolate_data() const { return isolate_data_; } diff --git a/src/env.h b/src/env.h index 96bbd3ce5c9db1..f9a2649115bfd7 100644 --- a/src/env.h +++ b/src/env.h @@ -597,14 +597,6 @@ class Environment { inline performance::performance_state* performance_state(); inline std::map* performance_marks(); - static inline Environment* from_performance_check_handle(uv_check_t* handle); - static inline Environment* from_performance_idle_handle(uv_idle_t* handle); - static inline Environment* from_performance_prepare_handle( - uv_prepare_t* handle); - inline uv_check_t* performance_check_handle(); - inline uv_idle_t* performance_idle_handle(); - inline uv_prepare_t* performance_prepare_handle(); - inline void ThrowError(const char* errmsg); inline void ThrowTypeError(const char* errmsg); inline void ThrowRangeError(const char* errmsg); @@ -684,9 +676,6 @@ class Environment { uv_timer_t destroy_ids_timer_handle_; uv_prepare_t idle_prepare_handle_; uv_check_t idle_check_handle_; - uv_prepare_t performance_prepare_handle_; - uv_check_t performance_check_handle_; - uv_idle_t performance_idle_handle_; AsyncHooks async_hooks_; DomainFlag domain_flag_;