OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_SPLAY_TREE_H_ | 5 #ifndef V8_SPLAY_TREE_H_ |
6 #define V8_SPLAY_TREE_H_ | 6 #define V8_SPLAY_TREE_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 template <class Callback> | 191 template <class Callback> |
192 void ForEachNode(Callback* callback); | 192 void ForEachNode(Callback* callback); |
193 | 193 |
194 Node* root_; | 194 Node* root_; |
195 AllocationPolicy allocator_; | 195 AllocationPolicy allocator_; |
196 | 196 |
197 DISALLOW_COPY_AND_ASSIGN(SplayTree); | 197 DISALLOW_COPY_AND_ASSIGN(SplayTree); |
198 }; | 198 }; |
199 | 199 |
200 | 200 |
201 } } // namespace v8::internal | 201 } // namespace internal |
| 202 } // namespace v8 |
202 | 203 |
203 #endif // V8_SPLAY_TREE_H_ | 204 #endif // V8_SPLAY_TREE_H_ |
OLD | NEW |