OLD | NEW |
---|---|
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 Loading... | |
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_ |
OLD | NEW |