| Index: src/global-handles.h
|
| diff --git a/src/global-handles.h b/src/global-handles.h
|
| index 7808d16a03f6e930829671550c5a7bd56b2c7518..c6de313c4a439b5611a48a7ce4a72280edfa3e75 100644
|
| --- a/src/global-handles.h
|
| +++ b/src/global-handles.h
|
| @@ -134,15 +134,13 @@ class GlobalHandles {
|
| static uint16_t GetWrapperClassId(Object** location);
|
|
|
| // Returns the current number of weak handles.
|
| - int NumberOfWeakHandles() { return number_of_weak_handles_; }
|
| + int NumberOfWeakHandles();
|
|
|
| void RecordStats(HeapStats* stats);
|
|
|
| // Returns the current number of weak handles to global objects.
|
| // These handles are also included in NumberOfWeakHandles().
|
| - int NumberOfGlobalObjectWeakHandles() {
|
| - return number_of_global_object_weak_handles_;
|
| - }
|
| + int NumberOfGlobalObjectWeakHandles();
|
|
|
| // Returns the current number of handles to global objects.
|
| int NumberOfGlobalHandles() {
|
| @@ -258,14 +256,6 @@ class GlobalHandles {
|
|
|
| Isolate* isolate_;
|
|
|
| - // Field always containing the number of weak and near-death handles.
|
| - int number_of_weak_handles_;
|
| -
|
| - // Field always containing the number of weak and near-death handles
|
| - // to global objects. These objects are also included in
|
| - // number_of_weak_handles_.
|
| - int number_of_global_object_weak_handles_;
|
| -
|
| // Field always containing the number of handles to global objects.
|
| int number_of_global_handles_;
|
|
|
|
|