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

Side by Side Diff: src/context-measure.cc

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/context-measure.h" 5 #include "src/context-measure.h"
6 6
7 #include "src/base/logging.h" 7 #include "src/base/logging.h"
8 #include "src/contexts.h" 8 #include "src/contexts.h"
9 #include "src/objects-inl.h" 9 #include "src/objects-inl.h"
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 object->IterateBody(map->instance_type(), size, this); 67 object->IterateBody(map->instance_type(), size, this);
68 } 68 }
69 69
70 70
71 void ContextMeasure::VisitPointers(Object** start, Object** end) { 71 void ContextMeasure::VisitPointers(Object** start, Object** end) {
72 for (Object** current = start; current < end; current++) { 72 for (Object** current = start; current < end; current++) {
73 if ((*current)->IsSmi()) continue; 73 if ((*current)->IsSmi()) continue;
74 MeasureObject(HeapObject::cast(*current)); 74 MeasureObject(HeapObject::cast(*current));
75 } 75 }
76 } 76 }
77 } 77 } // namespace internal
78 } // namespace v8::internal 78 } // namespace v8
OLDNEW
« no previous file with comments | « src/context-measure.h ('k') | src/contexts.h » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698