| 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_CRANKSHAFT_UNIQUE_H_ | 5 #ifndef V8_CRANKSHAFT_UNIQUE_H_ |
| 6 #define V8_CRANKSHAFT_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/assert-scope.h" |
| 11 #include "src/base/functional.h" | 11 #include "src/base/functional.h" |
| 12 #include "src/handles.h" | 12 #include "src/handles.h" |
| 13 #include "src/utils.h" | 13 #include "src/utils.h" |
| 14 #include "src/zone.h" | 14 #include "src/zone/zone.h" |
| 15 | 15 |
| 16 namespace v8 { | 16 namespace v8 { |
| 17 namespace internal { | 17 namespace internal { |
| 18 | 18 |
| 19 | 19 |
| 20 template <typename T> | 20 template <typename T> |
| 21 class UniqueSet; | 21 class UniqueSet; |
| 22 | 22 |
| 23 | 23 |
| 24 // Represents a handle to an object on the heap, but with the additional | 24 // Represents a handle to an object on the heap, but with the additional |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 capacity_ = new_capacity; | 353 capacity_ = new_capacity; |
| 354 array_ = new_array; | 354 array_ = new_array; |
| 355 } | 355 } |
| 356 } | 356 } |
| 357 }; | 357 }; |
| 358 | 358 |
| 359 } // namespace internal | 359 } // namespace internal |
| 360 } // namespace v8 | 360 } // namespace v8 |
| 361 | 361 |
| 362 #endif // V8_CRANKSHAFT_UNIQUE_H_ | 362 #endif // V8_CRANKSHAFT_UNIQUE_H_ |
| OLD | NEW |