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_OBJECTS_VISITING_H_ | 5 #ifndef V8_OBJECTS_VISITING_H_ |
6 #define V8_OBJECTS_VISITING_H_ | 6 #define V8_OBJECTS_VISITING_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/heap/embedder-tracing.h" | 9 #include "src/heap/embedder-tracing.h" |
10 #include "src/heap/heap.h" | 10 #include "src/heap/heap.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 V(Struct3) \ | 72 V(Struct3) \ |
73 V(Struct4) \ | 73 V(Struct4) \ |
74 V(Struct5) \ | 74 V(Struct5) \ |
75 V(Struct6) \ | 75 V(Struct6) \ |
76 V(Struct7) \ | 76 V(Struct7) \ |
77 V(Struct8) \ | 77 V(Struct8) \ |
78 V(Struct9) \ | 78 V(Struct9) \ |
79 V(StructGeneric) \ | 79 V(StructGeneric) \ |
80 V(ConsString) \ | 80 V(ConsString) \ |
81 V(SlicedString) \ | 81 V(SlicedString) \ |
| 82 V(ThinString) \ |
82 V(Symbol) \ | 83 V(Symbol) \ |
83 V(Oddball) \ | 84 V(Oddball) \ |
84 V(Code) \ | 85 V(Code) \ |
85 V(Map) \ | 86 V(Map) \ |
86 V(Cell) \ | 87 V(Cell) \ |
87 V(PropertyCell) \ | 88 V(PropertyCell) \ |
88 V(WeakCell) \ | 89 V(WeakCell) \ |
89 V(TransitionArray) \ | 90 V(TransitionArray) \ |
90 V(SharedFunctionInfo) \ | 91 V(SharedFunctionInfo) \ |
91 V(JSFunction) \ | 92 V(JSFunction) \ |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 // the next element. Given the head of the list, this function removes dead | 454 // the next element. Given the head of the list, this function removes dead |
454 // elements from the list and if requested records slots for next-element | 455 // elements from the list and if requested records slots for next-element |
455 // pointers. The template parameter T is a WeakListVisitor that defines how to | 456 // pointers. The template parameter T is a WeakListVisitor that defines how to |
456 // access the next-element pointers. | 457 // access the next-element pointers. |
457 template <class T> | 458 template <class T> |
458 Object* VisitWeakList(Heap* heap, Object* list, WeakObjectRetainer* retainer); | 459 Object* VisitWeakList(Heap* heap, Object* list, WeakObjectRetainer* retainer); |
459 } // namespace internal | 460 } // namespace internal |
460 } // namespace v8 | 461 } // namespace v8 |
461 | 462 |
462 #endif // V8_OBJECTS_VISITING_H_ | 463 #endif // V8_OBJECTS_VISITING_H_ |
OLD | NEW |