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/collector.h

Issue 2281443002: Separate DuplicateFinder from Scanner. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 3 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 | « BUILD.gn ('k') | src/parsing/duplicate-finder.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_COLLECTOR_H_ 5 #ifndef V8_COLLECTOR_H_
6 #define V8_COLLECTOR_H_ 6 #define V8_COLLECTOR_H_
7 7
8 #include "src/checks.h" 8 #include "src/checks.h"
9 #include "src/list.h" 9 #include "src/list-inl.h"
vogelheim 2016/08/25 08:52:46 This is used for calling chunks_.Rewind(0) in memb
10 #include "src/vector.h" 10 #include "src/vector.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 /* 15 /*
16 * A class that collects values into a backing store. 16 * A class that collects values into a backing store.
17 * Specialized versions of the class can allow access to the backing store 17 * Specialized versions of the class can allow access to the backing store
18 * in different ways. 18 * in different ways.
19 * There is no guarantee that the backing store is contiguous (and, as a 19 * There is no guarantee that the backing store is contiguous (and, as a
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 this->current_chunk_ = new_chunk; 238 this->current_chunk_ = new_chunk;
239 this->index_ = sequence_length; 239 this->index_ = sequence_length;
240 sequence_start_ = 0; 240 sequence_start_ = 0;
241 } 241 }
242 }; 242 };
243 243
244 } // namespace internal 244 } // namespace internal
245 } // namespace v8 245 } // namespace v8
246 246
247 #endif // V8_COLLECTOR_H_ 247 #endif // V8_COLLECTOR_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/parsing/duplicate-finder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698