Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / v8 / src / zone-containers.h
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
3 // found in the LICENSE file.
4
5 #ifndef V8_ZONE_CONTAINERS_H_
6 #define V8_ZONE_CONTAINERS_H_
7
8 #include <vector>
9
10 #include "src/zone-allocator.h"
11
12 namespace v8 {
13 namespace internal {
14
15 typedef std::vector<bool, ZoneBoolAllocator> BoolVector;
16
17 typedef std::vector<int, ZoneIntAllocator> IntVector;
18 typedef IntVector::iterator IntVectorIter;
19 typedef IntVector::reverse_iterator IntVectorRIter;
20
21 } }  // namespace v8::internal
22
23 #endif  // V8_ZONE_CONTAINERS_H_