OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_TRANSITIONS_H_ | 5 #ifndef V8_TRANSITIONS_H_ |
6 #define V8_TRANSITIONS_H_ | 6 #define V8_TRANSITIONS_H_ |
7 | 7 |
| 8 #include "src/checks.h" |
8 #include "src/elements-kind.h" | 9 #include "src/elements-kind.h" |
9 #include "src/heap.h" | 10 #include "src/heap.h" |
10 #include "src/isolate.h" | 11 #include "src/isolate.h" |
11 #include "src/objects.h" | 12 #include "src/objects.h" |
12 #include "src/v8checks.h" | |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 | 17 |
18 // TransitionArrays are fixed arrays used to hold map transitions for property, | 18 // TransitionArrays are fixed arrays used to hold map transitions for property, |
19 // constant, and element changes. They can either be simple transition arrays | 19 // constant, and element changes. They can either be simple transition arrays |
20 // that store a single property transition, or a full transition array that has | 20 // that store a single property transition, or a full transition array that has |
21 // prototype transitions and multiple property transitons. The details related | 21 // prototype transitions and multiple property transitons. The details related |
22 // to property transitions are accessed in the descriptor array of the target | 22 // to property transitions are accessed in the descriptor array of the target |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 int origin_transition, | 188 int origin_transition, |
189 int target_transition); | 189 int target_transition); |
190 | 190 |
191 DISALLOW_IMPLICIT_CONSTRUCTORS(TransitionArray); | 191 DISALLOW_IMPLICIT_CONSTRUCTORS(TransitionArray); |
192 }; | 192 }; |
193 | 193 |
194 | 194 |
195 } } // namespace v8::internal | 195 } } // namespace v8::internal |
196 | 196 |
197 #endif // V8_TRANSITIONS_H_ | 197 #endif // V8_TRANSITIONS_H_ |
OLD | NEW |