| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_ZONE_CONTAINERS_H_ | 5 #ifndef V8_ZONE_CONTAINERS_H_ |
| 6 #define V8_ZONE_CONTAINERS_H_ | 6 #define V8_ZONE_CONTAINERS_H_ |
| 7 | 7 |
| 8 #include <set> |
| 8 #include <vector> | 9 #include <vector> |
| 9 #include <set> | |
| 10 | 10 |
| 11 #include "src/zone.h" | 11 #include "src/zone.h" |
| 12 | 12 |
| 13 namespace v8 { | 13 namespace v8 { |
| 14 namespace internal { | 14 namespace internal { |
| 15 | 15 |
| 16 typedef zone_allocator<int> ZoneIntAllocator; | 16 typedef zone_allocator<int> ZoneIntAllocator; |
| 17 typedef std::vector<int, ZoneIntAllocator> IntVector; | 17 typedef std::vector<int, ZoneIntAllocator> IntVector; |
| 18 typedef IntVector::iterator IntVectorIter; | 18 typedef IntVector::iterator IntVectorIter; |
| 19 typedef IntVector::reverse_iterator IntVectorRIter; | 19 typedef IntVector::reverse_iterator IntVectorRIter; |
| 20 | 20 |
| 21 } } // namespace v8::internal | 21 } } // namespace v8::internal |
| 22 | 22 |
| 23 #endif // V8_ZONE_CONTAINERS_H_ | 23 #endif // V8_ZONE_CONTAINERS_H_ |
| OLD | NEW |