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

Unified Diff: src/heap/spaces.cc

Issue 1416003003: Cleanup FreeSpace: Remove getter for address of next pointer (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/objects-visiting.h ('k') | src/objects.h » ('j') | 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 520a4060ca4c8280bc324f1c17228254e0c0a06b..d133353b2d353303b4d456e15a1fd8a826511c7e 100644
--- a/src/heap/spaces.cc
+++ b/src/heap/spaces.cc
@@ -2235,7 +2235,7 @@ FreeSpace* FreeListCategory::PickNodeFromList(int* node_size) {
Page* page = Page::FromAddress(node->address());
while ((node != nullptr) && page->IsEvacuationCandidate()) {
- available_ -= node->Size();
+ available_ -= node->size();
page->add_available_in_free_list(type_, -(node->Size()));
node = node->next();
}
« no previous file with comments | « src/heap/objects-visiting.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698