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

Side by Side Diff: src/list.h

Issue 2618553004: [compiler] Collect eager inner functions for compilation during renumbering. (Closed)
Patch Set: Address comments and remove field from ParseInfo Created 3 years, 11 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
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/list-inl.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_LIST_H_ 5 #ifndef V8_LIST_H_
6 #define V8_LIST_H_ 6 #define V8_LIST_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 9
10 #include "src/checks.h" 10 #include "src/checks.h"
11 #include "src/utils.h" 11 #include "src/vector.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 15
16 template<typename T> class Vector; 16 template<typename T> class Vector;
17 17
18 // ---------------------------------------------------------------------------- 18 // ----------------------------------------------------------------------------
19 // The list is a template for very light-weight lists. We are not 19 // The list is a template for very light-weight lists. We are not
20 // using the STL because we want full control over space and speed of 20 // using the STL because we want full control over space and speed of
21 // the code. This implementation is based on code by Robert Griesemer 21 // the code. This implementation is based on code by Robert Griesemer
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 int SortedListBSearch(const List<T>& list, P cmp); 226 int SortedListBSearch(const List<T>& list, P cmp);
227 template <typename T> 227 template <typename T>
228 int SortedListBSearch(const List<T>& list, T elem); 228 int SortedListBSearch(const List<T>& list, T elem);
229 229
230 230
231 } // namespace internal 231 } // namespace internal
232 } // namespace v8 232 } // namespace v8
233 233
234 234
235 #endif // V8_LIST_H_ 235 #endif // V8_LIST_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/list-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698