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

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

Issue 1005183006: Serializer: serialize internal references via object visitor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix compilation Created 5 years, 9 months 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
« no previous file with comments | « src/assembler.cc ('k') | src/heap/objects-visiting-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/layout-descriptor.h" 9 #include "src/layout-descriptor.h"
10 10
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 406
407 INLINE(static void VisitPropertyCell(Map* map, HeapObject* object)); 407 INLINE(static void VisitPropertyCell(Map* map, HeapObject* object));
408 INLINE(static void VisitWeakCell(Map* map, HeapObject* object)); 408 INLINE(static void VisitWeakCell(Map* map, HeapObject* object));
409 INLINE(static void VisitCodeEntry(Heap* heap, Address entry_address)); 409 INLINE(static void VisitCodeEntry(Heap* heap, Address entry_address));
410 INLINE(static void VisitEmbeddedPointer(Heap* heap, RelocInfo* rinfo)); 410 INLINE(static void VisitEmbeddedPointer(Heap* heap, RelocInfo* rinfo));
411 INLINE(static void VisitCell(Heap* heap, RelocInfo* rinfo)); 411 INLINE(static void VisitCell(Heap* heap, RelocInfo* rinfo));
412 INLINE(static void VisitDebugTarget(Heap* heap, RelocInfo* rinfo)); 412 INLINE(static void VisitDebugTarget(Heap* heap, RelocInfo* rinfo));
413 INLINE(static void VisitCodeTarget(Heap* heap, RelocInfo* rinfo)); 413 INLINE(static void VisitCodeTarget(Heap* heap, RelocInfo* rinfo));
414 INLINE(static void VisitCodeAgeSequence(Heap* heap, RelocInfo* rinfo)); 414 INLINE(static void VisitCodeAgeSequence(Heap* heap, RelocInfo* rinfo));
415 INLINE(static void VisitExternalReference(RelocInfo* rinfo)) {} 415 INLINE(static void VisitExternalReference(RelocInfo* rinfo)) {}
416 INLINE(static void VisitInternalReference(RelocInfo* rinfo)) {}
416 INLINE(static void VisitRuntimeEntry(RelocInfo* rinfo)) {} 417 INLINE(static void VisitRuntimeEntry(RelocInfo* rinfo)) {}
417 // Skip the weak next code link in a code object. 418 // Skip the weak next code link in a code object.
418 INLINE(static void VisitNextCodeLink(Heap* heap, Object** slot)) {} 419 INLINE(static void VisitNextCodeLink(Heap* heap, Object** slot)) {}
419 420
420 // TODO(mstarzinger): This should be made protected once refactoring is done. 421 // TODO(mstarzinger): This should be made protected once refactoring is done.
421 // Mark non-optimize code for functions inlined into the given optimized 422 // Mark non-optimize code for functions inlined into the given optimized
422 // code. This will prevent it from being flushed. 423 // code. This will prevent it from being flushed.
423 static void MarkInlinedFunctionsCode(Heap* heap, Code* code); 424 static void MarkInlinedFunctionsCode(Heap* heap, Code* code);
424 425
425 protected: 426 protected:
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 // access the next-element pointers. 491 // access the next-element pointers.
491 template <class T> 492 template <class T>
492 Object* VisitWeakList(Heap* heap, Object* list, WeakObjectRetainer* retainer, 493 Object* VisitWeakList(Heap* heap, Object* list, WeakObjectRetainer* retainer,
493 bool stop_after_young); 494 bool stop_after_young);
494 Object* VisitNewArrayBufferViewsWeakList(Heap* heap, Object* list, 495 Object* VisitNewArrayBufferViewsWeakList(Heap* heap, Object* list,
495 WeakObjectRetainer* retainer); 496 WeakObjectRetainer* retainer);
496 } 497 }
497 } // namespace v8::internal 498 } // namespace v8::internal
498 499
499 #endif // V8_OBJECTS_VISITING_H_ 500 #endif // V8_OBJECTS_VISITING_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/heap/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698