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

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

Issue 1281233003: [heap] Avoid overzealous inclusion of heap internal headers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/heap/mark-compact-inl.h ('k') | src/isolate.cc » ('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 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/mark-compact-inl.h"
7 #include "src/heap/objects-visiting.h" 8 #include "src/heap/objects-visiting.h"
8 9
9 namespace v8 { 10 namespace v8 {
10 namespace internal { 11 namespace internal {
11 12
12 13
13 StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId( 14 StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId(
14 int instance_type, int instance_size, bool has_unboxed_fields) { 15 int instance_type, int instance_size, bool has_unboxed_fields) {
15 if (instance_type < FIRST_NONSTRING_TYPE) { 16 if (instance_type < FIRST_NONSTRING_TYPE) {
16 switch (instance_type & kStringRepresentationMask) { 17 switch (instance_type & kStringRepresentationMask) {
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 }; 357 };
357 358
358 359
359 template Object* VisitWeakList<Context>(Heap* heap, Object* list, 360 template Object* VisitWeakList<Context>(Heap* heap, Object* list,
360 WeakObjectRetainer* retainer); 361 WeakObjectRetainer* retainer);
361 362
362 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, 363 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list,
363 WeakObjectRetainer* retainer); 364 WeakObjectRetainer* retainer);
364 } // namespace internal 365 } // namespace internal
365 } // namespace v8 366 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/mark-compact-inl.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698