OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/heap/objects-visiting.h" | 7 #include "src/heap/objects-visiting.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 case FREE_SPACE_TYPE: | 45 case FREE_SPACE_TYPE: |
46 return kVisitFreeSpace; | 46 return kVisitFreeSpace; |
47 | 47 |
48 case FIXED_ARRAY_TYPE: | 48 case FIXED_ARRAY_TYPE: |
49 return kVisitFixedArray; | 49 return kVisitFixedArray; |
50 | 50 |
51 case FIXED_DOUBLE_ARRAY_TYPE: | 51 case FIXED_DOUBLE_ARRAY_TYPE: |
52 return kVisitFixedDoubleArray; | 52 return kVisitFixedDoubleArray; |
53 | 53 |
| 54 case CONSTANT_POOL_ARRAY_TYPE: |
| 55 return kVisitConstantPoolArray; |
| 56 |
54 case ODDBALL_TYPE: | 57 case ODDBALL_TYPE: |
55 return kVisitOddball; | 58 return kVisitOddball; |
56 | 59 |
57 case MAP_TYPE: | 60 case MAP_TYPE: |
58 return kVisitMap; | 61 return kVisitMap; |
59 | 62 |
60 case CODE_TYPE: | 63 case CODE_TYPE: |
61 return kVisitCode; | 64 return kVisitCode; |
62 | 65 |
63 case CELL_TYPE: | 66 case CELL_TYPE: |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 }; | 355 }; |
353 | 356 |
354 | 357 |
355 template Object* VisitWeakList<Context>(Heap* heap, Object* list, | 358 template Object* VisitWeakList<Context>(Heap* heap, Object* list, |
356 WeakObjectRetainer* retainer); | 359 WeakObjectRetainer* retainer); |
357 | 360 |
358 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, | 361 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, |
359 WeakObjectRetainer* retainer); | 362 WeakObjectRetainer* retainer); |
360 } // namespace internal | 363 } // namespace internal |
361 } // namespace v8 | 364 } // namespace v8 |
OLD | NEW |