OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include <stdlib.h> | 5 #include <stdlib.h> |
6 #include <utility> | 6 #include <utility> |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/compilation-cache.h" | 10 #include "src/compilation-cache.h" |
11 #include "src/execution.h" | 11 #include "src/execution.h" |
12 #include "src/factory.h" | 12 #include "src/factory.h" |
13 #include "src/field-type.h" | 13 #include "src/field-type.h" |
14 #include "src/global-handles.h" | 14 #include "src/global-handles.h" |
| 15 // FIXME(mstarzinger, marja): This is weird, but required because of the missing |
| 16 // (disallowed) include: src/field-type.h -> src/objects-inl.h |
| 17 #include "src/objects-inl.h" |
| 18 #include "src/transitions.h" |
15 #include "test/cctest/cctest.h" | 19 #include "test/cctest/cctest.h" |
16 | 20 |
17 using namespace v8::internal; | 21 using namespace v8::internal; |
18 | 22 |
19 | 23 |
20 // | 24 // |
21 // Helper functions. | 25 // Helper functions. |
22 // | 26 // |
23 | 27 |
24 static void CheckPropertyDetailsFieldsConsistency(PropertyType type, | 28 static void CheckPropertyDetailsFieldsConsistency(PropertyType type, |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 break; | 309 break; |
306 } | 310 } |
307 } | 311 } |
308 } | 312 } |
309 } | 313 } |
310 | 314 |
311 #ifdef DEBUG | 315 #ifdef DEBUG |
312 CHECK(TransitionArray::IsSortedNoDuplicates(*map0)); | 316 CHECK(TransitionArray::IsSortedNoDuplicates(*map0)); |
313 #endif | 317 #endif |
314 } | 318 } |
OLD | NEW |