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

Side by Side Diff: src/small-pointer-list.h

Issue 293363006: Merge v8globals.h and globals.h (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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
« no previous file with comments | « src/sampler.h ('k') | src/store-buffer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_SMALL_POINTER_LIST_H_ 5 #ifndef V8_SMALL_POINTER_LIST_H_
6 #define V8_SMALL_POINTER_LIST_H_ 6 #define V8_SMALL_POINTER_LIST_H_
7 7
8 #include "checks.h" 8 #include "checks.h"
9 #include "v8globals.h" 9 #include "globals.h"
10 #include "zone.h" 10 #include "zone.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 // SmallPointerList is a list optimized for storing no or just a 15 // SmallPointerList is a list optimized for storing no or just a
16 // single value. When more values are given it falls back to ZoneList. 16 // single value. When more values are given it falls back to ZoneList.
17 // 17 //
18 // The interface tries to be as close to List from list.h as possible. 18 // The interface tries to be as close to List from list.h as possible.
19 template <typename T> 19 template <typename T>
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 } 166 }
167 167
168 intptr_t data_; 168 intptr_t data_;
169 169
170 DISALLOW_COPY_AND_ASSIGN(SmallPointerList); 170 DISALLOW_COPY_AND_ASSIGN(SmallPointerList);
171 }; 171 };
172 172
173 } } // namespace v8::internal 173 } } // namespace v8::internal
174 174
175 #endif // V8_SMALL_POINTER_LIST_H_ 175 #endif // V8_SMALL_POINTER_LIST_H_
OLDNEW
« no previous file with comments | « src/sampler.h ('k') | src/store-buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698