| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_WEAK_TABLE_H_ | 5 #ifndef RUNTIME_VM_WEAK_TABLE_H_ |
| 6 #define VM_WEAK_TABLE_H_ | 6 #define RUNTIME_VM_WEAK_TABLE_H_ |
| 7 | 7 |
| 8 #include "vm/globals.h" | 8 #include "vm/globals.h" |
| 9 | 9 |
| 10 #include "platform/assert.h" | 10 #include "platform/assert.h" |
| 11 #include "vm/raw_object.h" | 11 #include "vm/raw_object.h" |
| 12 | 12 |
| 13 namespace dart { | 13 namespace dart { |
| 14 | 14 |
| 15 class WeakTable { | 15 class WeakTable { |
| 16 public: | 16 public: |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 // number valid entries, and will determine the size_ after rehashing. | 164 // number valid entries, and will determine the size_ after rehashing. |
| 165 intptr_t size_; | 165 intptr_t size_; |
| 166 intptr_t used_; | 166 intptr_t used_; |
| 167 intptr_t count_; | 167 intptr_t count_; |
| 168 | 168 |
| 169 DISALLOW_COPY_AND_ASSIGN(WeakTable); | 169 DISALLOW_COPY_AND_ASSIGN(WeakTable); |
| 170 }; | 170 }; |
| 171 | 171 |
| 172 } // namespace dart | 172 } // namespace dart |
| 173 | 173 |
| 174 #endif // VM_WEAK_TABLE_H_ | 174 #endif // RUNTIME_VM_WEAK_TABLE_H_ |
| OLD | NEW |