| 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> | |
| 9 #include <vector> | 8 #include <vector> |
| 10 | 9 |
| 11 #include "src/zone.h" | 10 #include "src/zone-allocator.h" |
| 12 | 11 |
| 13 namespace v8 { | 12 namespace v8 { |
| 14 namespace internal { | 13 namespace internal { |
| 15 | 14 |
| 16 typedef zone_allocator<int> ZoneIntAllocator; | 15 typedef std::vector<bool, ZoneBoolAllocator> BoolVector; |
| 16 |
| 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 |