Index: src/compiler/zone-stats.h |
diff --git a/src/compiler/zone-stats.h b/src/compiler/zone-stats.h |
index 39adca369320de4df337146464675cbdaba58fe7..6e0cd5fe4e9f49d7e069a796738d930240a7d813 100644 |
--- a/src/compiler/zone-stats.h |
+++ b/src/compiler/zone-stats.h |
@@ -66,9 +66,9 @@ class V8_EXPORT_PRIVATE ZoneStats final { |
explicit ZoneStats(AccountingAllocator* allocator); |
~ZoneStats(); |
- size_t GetMaxAllocatedBytes(); |
- size_t GetTotalAllocatedBytes(); |
- size_t GetCurrentAllocatedBytes(); |
+ size_t GetMaxAllocatedBytes() const; |
+ size_t GetTotalAllocatedBytes() const; |
+ size_t GetCurrentAllocatedBytes() const; |
private: |
Zone* NewEmptyZone(const char* zone_name); |