Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: src/heap/objects-visiting.h

Issue 2549773002: Internalize strings in-place (Closed)
Patch Set: forgot one Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/heap.h" 9 #include "src/heap/heap.h"
10 #include "src/heap/spaces.h" 10 #include "src/heap/spaces.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 V(Struct3) \ 71 V(Struct3) \
72 V(Struct4) \ 72 V(Struct4) \
73 V(Struct5) \ 73 V(Struct5) \
74 V(Struct6) \ 74 V(Struct6) \
75 V(Struct7) \ 75 V(Struct7) \
76 V(Struct8) \ 76 V(Struct8) \
77 V(Struct9) \ 77 V(Struct9) \
78 V(StructGeneric) \ 78 V(StructGeneric) \
79 V(ConsString) \ 79 V(ConsString) \
80 V(SlicedString) \ 80 V(SlicedString) \
81 V(ThinString) \
81 V(Symbol) \ 82 V(Symbol) \
82 V(Oddball) \ 83 V(Oddball) \
83 V(Code) \ 84 V(Code) \
84 V(Map) \ 85 V(Map) \
85 V(Cell) \ 86 V(Cell) \
86 V(PropertyCell) \ 87 V(PropertyCell) \
87 V(WeakCell) \ 88 V(WeakCell) \
88 V(TransitionArray) \ 89 V(TransitionArray) \
89 V(SharedFunctionInfo) \ 90 V(SharedFunctionInfo) \
90 V(JSFunction) \ 91 V(JSFunction) \
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 // the next element. Given the head of the list, this function removes dead 453 // the next element. Given the head of the list, this function removes dead
453 // elements from the list and if requested records slots for next-element 454 // elements from the list and if requested records slots for next-element
454 // pointers. The template parameter T is a WeakListVisitor that defines how to 455 // pointers. The template parameter T is a WeakListVisitor that defines how to
455 // access the next-element pointers. 456 // access the next-element pointers.
456 template <class T> 457 template <class T>
457 Object* VisitWeakList(Heap* heap, Object* list, WeakObjectRetainer* retainer); 458 Object* VisitWeakList(Heap* heap, Object* list, WeakObjectRetainer* retainer);
458 } // namespace internal 459 } // namespace internal
459 } // namespace v8 460 } // namespace v8
460 461
461 #endif // V8_OBJECTS_VISITING_H_ 462 #endif // V8_OBJECTS_VISITING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698