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

Unified Diff: src/heap/heap.h

Issue 1924033003: [heap] Force inlining of AllocatedSinceLastGC (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | src/heap/spaces.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 2628898c8622e4753b4707e5ed07c1d5e1e367db..75267d425503226f0e306d2bde7fd02c6250b25a 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1256,8 +1256,8 @@ class Heap {
return static_cast<intptr_t>(total);
}
- inline void UpdateNewSpaceAllocationCounter();
- inline size_t NewSpaceAllocationCounter();
+ V8_INLINE void UpdateNewSpaceAllocationCounter();
+ V8_INLINE size_t NewSpaceAllocationCounter();
// This should be used only for testing.
void set_new_space_allocation_counter(size_t new_value) {
« no previous file with comments | « no previous file | src/heap/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698