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 | |
57 case ODDBALL_TYPE: | 54 case ODDBALL_TYPE: |
58 return kVisitOddball; | 55 return kVisitOddball; |
59 | 56 |
60 case MAP_TYPE: | 57 case MAP_TYPE: |
61 return kVisitMap; | 58 return kVisitMap; |
62 | 59 |
63 case CODE_TYPE: | 60 case CODE_TYPE: |
64 return kVisitCode; | 61 return kVisitCode; |
65 | 62 |
66 case CELL_TYPE: | 63 case CELL_TYPE: |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 }; | 353 }; |
357 | 354 |
358 | 355 |
359 template Object* VisitWeakList<Context>(Heap* heap, Object* list, | 356 template Object* VisitWeakList<Context>(Heap* heap, Object* list, |
360 WeakObjectRetainer* retainer); | 357 WeakObjectRetainer* retainer); |
361 | 358 |
362 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, | 359 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, |
363 WeakObjectRetainer* retainer); | 360 WeakObjectRetainer* retainer); |
364 } // namespace internal | 361 } // namespace internal |
365 } // namespace v8 | 362 } // namespace v8 |
OLD | NEW |