summaryrefslogtreecommitdiff
path: root/deps/v8/src/zone-containers.h
blob: 1295ed7ab950e40f61c9d7d1928bde1166673a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_ZONE_CONTAINERS_H_
#define V8_ZONE_CONTAINERS_H_

#include <vector>

#include "src/zone-allocator.h"

namespace v8 {
namespace internal {

typedef std::vector<bool, ZoneBoolAllocator> BoolVector;

typedef std::vector<int, ZoneIntAllocator> IntVector;
typedef IntVector::iterator IntVectorIter;
typedef IntVector::reverse_iterator IntVectorRIter;

} }  // namespace v8::internal

#endif  // V8_ZONE_CONTAINERS_H_