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

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

Issue 62803008: Bugfix: make dependent code field in AllocationSite weak. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed nit. Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « src/objects.h ('k') | src/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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 template<typename StaticVisitor> 392 template<typename StaticVisitor>
393 class StaticMarkingVisitor : public StaticVisitorBase { 393 class StaticMarkingVisitor : public StaticVisitorBase {
394 public: 394 public:
395 static void Initialize(); 395 static void Initialize();
396 396
397 INLINE(static void IterateBody(Map* map, HeapObject* obj)) { 397 INLINE(static void IterateBody(Map* map, HeapObject* obj)) {
398 table_.GetVisitor(map)(map, obj); 398 table_.GetVisitor(map)(map, obj);
399 } 399 }
400 400
401 INLINE(static void VisitPropertyCell(Map* map, HeapObject* object)); 401 INLINE(static void VisitPropertyCell(Map* map, HeapObject* object));
402 INLINE(static void VisitAllocationSite(Map* map, HeapObject* object));
402 INLINE(static void VisitCodeEntry(Heap* heap, Address entry_address)); 403 INLINE(static void VisitCodeEntry(Heap* heap, Address entry_address));
403 INLINE(static void VisitEmbeddedPointer(Heap* heap, RelocInfo* rinfo)); 404 INLINE(static void VisitEmbeddedPointer(Heap* heap, RelocInfo* rinfo));
404 INLINE(static void VisitCell(Heap* heap, RelocInfo* rinfo)); 405 INLINE(static void VisitCell(Heap* heap, RelocInfo* rinfo));
405 INLINE(static void VisitDebugTarget(Heap* heap, RelocInfo* rinfo)); 406 INLINE(static void VisitDebugTarget(Heap* heap, RelocInfo* rinfo));
406 INLINE(static void VisitCodeTarget(Heap* heap, RelocInfo* rinfo)); 407 INLINE(static void VisitCodeTarget(Heap* heap, RelocInfo* rinfo));
407 INLINE(static void VisitCodeAgeSequence(Heap* heap, RelocInfo* rinfo)); 408 INLINE(static void VisitCodeAgeSequence(Heap* heap, RelocInfo* rinfo));
408 INLINE(static void VisitExternalReference(RelocInfo* rinfo)) { } 409 INLINE(static void VisitExternalReference(RelocInfo* rinfo)) { }
409 INLINE(static void VisitRuntimeEntry(RelocInfo* rinfo)) { } 410 INLINE(static void VisitRuntimeEntry(RelocInfo* rinfo)) { }
410 411
411 // TODO(mstarzinger): This should be made protected once refactoring is done. 412 // TODO(mstarzinger): This should be made protected once refactoring is done.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 471
471 472
472 template<typename StaticVisitor> 473 template<typename StaticVisitor>
473 VisitorDispatchTable<typename StaticMarkingVisitor<StaticVisitor>::Callback> 474 VisitorDispatchTable<typename StaticMarkingVisitor<StaticVisitor>::Callback>
474 StaticMarkingVisitor<StaticVisitor>::table_; 475 StaticMarkingVisitor<StaticVisitor>::table_;
475 476
476 477
477 } } // namespace v8::internal 478 } } // namespace v8::internal
478 479
479 #endif // V8_OBJECTS_VISITING_H_ 480 #endif // V8_OBJECTS_VISITING_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698