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

Unified Diff: src/heap/spaces.cc

Issue 2241503002: [heap] AcccountingStats:: int/intptr_t -> size_t (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/spaces.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/spaces.cc
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc
index 7ce2ae919ac2bd943dc69e538a1e0b36f1fdc226..1b7a189539caea07b66e15e7d11b9e7908fbfbfd 100644
--- a/src/heap/spaces.cc
+++ b/src/heap/spaces.cc
@@ -1309,8 +1309,8 @@ void PagedSpace::EmptyAllocationInfo() {
Free(current_top, static_cast<int>(current_limit - current_top));
}
-void PagedSpace::IncreaseCapacity(int size) {
- accounting_stats_.ExpandSpace(size);
+void PagedSpace::IncreaseCapacity(size_t bytes) {
+ accounting_stats_.ExpandSpace(bytes);
}
void PagedSpace::ReleasePage(Page* page) {
« no previous file with comments | « src/heap/spaces.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698