summaryrefslogtreecommitdiff
path: root/chromium/v8/src/zone-containers.h
blob: 3b08b47113804e97be91fec2ade422e34fb4011f (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 <set>

#include "src/zone.h"

namespace v8 {
namespace internal {

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

} }  // namespace v8::internal

#endif  // V8_ZONE_CONTAINERS_H_