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

Unified Diff: src/counters.h

Issue 2422143002: Do not inline object-stats functions to reduce binary size. (Closed)
Patch Set: remove debugging code Created 4 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 | « no previous file | src/counters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/counters.h
diff --git a/src/counters.h b/src/counters.h
index 495a023ebee2699ce47bf0a5190989e6e1d72c28..8967c500c54b0932f9532b7c11be6aed0de8338f 100644
--- a/src/counters.h
+++ b/src/counters.h
@@ -483,7 +483,7 @@ double AggregatedMemoryHistogram<Histogram>::Aggregate(double current_ms,
struct RuntimeCallCounter {
explicit RuntimeCallCounter(const char* name) : name(name) {}
- void Reset();
+ V8_NOINLINE void Reset();
V8_NOINLINE void Dump(std::stringstream& out);
const char* name;
@@ -798,8 +798,8 @@ class RuntimeCallStats {
CounterId counter_id);
void Reset();
- V8_NOINLINE void Print(std::ostream& os);
- V8_NOINLINE std::string Dump();
+ void Print(std::ostream& os);
+ std::string Dump();
RuntimeCallStats() {
Reset();
« no previous file with comments | « no previous file | src/counters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698