Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: src/zone-containers.h

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698