OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_UNIQUE_H_ | 5 #ifndef V8_CRANKSHAFT_UNIQUE_H_ |
6 #define V8_UNIQUE_H_ | 6 #define V8_CRANKSHAFT_UNIQUE_H_ |
7 | 7 |
8 #include <ostream> // NOLINT(readability/streams) | 8 #include <ostream> // NOLINT(readability/streams) |
9 | 9 |
| 10 #include "src/assert-scope.h" |
10 #include "src/base/functional.h" | 11 #include "src/base/functional.h" |
11 #include "src/handles.h" | 12 #include "src/handles.h" |
12 #include "src/utils.h" | 13 #include "src/utils.h" |
13 #include "src/zone.h" | 14 #include "src/zone.h" |
14 | 15 |
15 namespace v8 { | 16 namespace v8 { |
16 namespace internal { | 17 namespace internal { |
17 | 18 |
18 | 19 |
19 template <typename T> | 20 template <typename T> |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 } | 352 } |
352 capacity_ = new_capacity; | 353 capacity_ = new_capacity; |
353 array_ = new_array; | 354 array_ = new_array; |
354 } | 355 } |
355 } | 356 } |
356 }; | 357 }; |
357 | 358 |
358 } // namespace internal | 359 } // namespace internal |
359 } // namespace v8 | 360 } // namespace v8 |
360 | 361 |
361 #endif // V8_UNIQUE_H_ | 362 #endif // V8_CRANKSHAFT_UNIQUE_H_ |
OLD | NEW |