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

Side by Side Diff: src/heap/object-stats.h

Issue 2150563002: [heap] Fix ObjectStats compile on Android/GN (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef V8_HEAP_OBJECT_STATS_H_ 5 #ifndef V8_HEAP_OBJECT_STATS_H_
6 #define V8_HEAP_OBJECT_STATS_H_ 6 #define V8_HEAP_OBJECT_STATS_H_
7 7
8 #include <math.h>
9
8 #include "src/heap/heap.h" 10 #include "src/heap/heap.h"
9 #include "src/heap/objects-visiting.h" 11 #include "src/heap/objects-visiting.h"
10 #include "src/objects.h" 12 #include "src/objects.h"
11 13
12 namespace v8 { 14 namespace v8 {
13 namespace internal { 15 namespace internal {
14 16
15 class ObjectStats { 17 class ObjectStats {
16 public: 18 public:
17 explicit ObjectStats(Heap* heap) : heap_(heap) { ClearObjectStats(); } 19 explicit ObjectStats(Heap* heap) : heap_(heap) { ClearObjectStats(); }
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 static void RecordJSObjectDetails(ObjectStats* stats, Heap* heap, 126 static void RecordJSObjectDetails(ObjectStats* stats, Heap* heap,
125 JSObject* object); 127 JSObject* object);
126 static void RecordJSWeakCollectionDetails(ObjectStats* stats, Heap* heap, 128 static void RecordJSWeakCollectionDetails(ObjectStats* stats, Heap* heap,
127 JSWeakCollection* obj); 129 JSWeakCollection* obj);
128 }; 130 };
129 131
130 } // namespace internal 132 } // namespace internal
131 } // namespace v8 133 } // namespace v8
132 134
133 #endif // V8_HEAP_OBJECT_STATS_H_ 135 #endif // V8_HEAP_OBJECT_STATS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698