GeezerVison is showing github.com — src: remove unused perf_hooks uv handles · nodejs/node@29e38ab
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/env-inl.h -27Lines changed: 0 additions & 27 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -503,33 +503,6 @@ inline std::map<std::string, uint64_t>* Environment::performance_marks() { |
503 | 503 | return &performance_marks_; |
504 | 504 | } |
505 | 505 |
|
506 | | -inline Environment* Environment::from_performance_check_handle( |
507 | | - uv_check_t* handle) { |
508 | | - return ContainerOf(&Environment::performance_check_handle_, handle); |
509 | | -} |
510 | | - |
511 | | -inline Environment* Environment::from_performance_idle_handle( |
512 | | - uv_idle_t* handle) { |
513 | | - return ContainerOf(&Environment::performance_idle_handle_, handle); |
514 | | -} |
515 | | - |
516 | | -inline Environment* Environment::from_performance_prepare_handle( |
517 | | - uv_prepare_t* handle) { |
518 | | - return ContainerOf(&Environment::performance_prepare_handle_, handle); |
519 | | -} |
520 | | - |
521 | | -inline uv_check_t* Environment::performance_check_handle() { |
522 | | - return &performance_check_handle_; |
523 | | -} |
524 | | - |
525 | | -inline uv_idle_t* Environment::performance_idle_handle() { |
526 | | - return &performance_idle_handle_; |
527 | | -} |
528 | | - |
529 | | -inline uv_prepare_t* Environment::performance_prepare_handle() { |
530 | | - return &performance_prepare_handle_; |
531 | | -} |
532 | | - |
533 | 506 | inline IsolateData* Environment::isolate_data() const { |
534 | 507 | return isolate_data_; |
535 | 508 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: src/env.h -11Lines changed: 0 additions & 11 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -597,14 +597,6 @@ class Environment { |
597 | 597 | inline performance::performance_state* performance_state(); |
598 | 598 | inline std::map<std::string, uint64_t>* performance_marks(); |
599 | 599 |
|
600 | | - static inline Environment* from_performance_check_handle(uv_check_t* handle); |
601 | | - static inline Environment* from_performance_idle_handle(uv_idle_t* handle); |
602 | | - static inline Environment* from_performance_prepare_handle( |
603 | | - uv_prepare_t* handle); |
604 | | - inline uv_check_t* performance_check_handle(); |
605 | | - inline uv_idle_t* performance_idle_handle(); |
606 | | - inline uv_prepare_t* performance_prepare_handle(); |
607 | | - |
608 | 600 | inline void ThrowError(const char* errmsg); |
609 | 601 | inline void ThrowTypeError(const char* errmsg); |
610 | 602 | inline void ThrowRangeError(const char* errmsg); |
@@ -684,9 +676,6 @@ class Environment { |
684 | 676 | uv_timer_t destroy_ids_timer_handle_; |
685 | 677 | uv_prepare_t idle_prepare_handle_; |
686 | 678 | uv_check_t idle_check_handle_; |
687 | | - uv_prepare_t performance_prepare_handle_; |
688 | | - uv_check_t performance_check_handle_; |
689 | | - uv_idle_t performance_idle_handle_; |
690 | 679 |
|
691 | 680 | AsyncHooks async_hooks_; |
692 | 681 | DomainFlag domain_flag_; |
|