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

Unified Diff: src/heap.cc

Issue 132063004: More efficient use of space in AllocationSite. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index 52711584363977303d682436a0cec6f746e7cfff..0e60a56897574e6a7d4f22d157abc3ff8ac6d7ef 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -525,8 +525,8 @@ void Heap::ProcessPretenuringFeedback() {
list_element->IsAllocationSite()) {
AllocationSite* site = use_scratchpad ?
allocation_sites_scratchpad[i] : AllocationSite::cast(list_element);
- allocation_mementos_found += site->memento_found_count()->value();
- if (site->memento_found_count()->value() > 0) {
+ allocation_mementos_found += site->memento_found_count();
+ if (site->memento_found_count() > 0) {
active_allocation_sites++;
}
if (site->DigestPretenuringFeedback()) {

Powered by Google App Engine
This is Rietveld 408576698