Chromium Code Reviews

Unified Diff: src/log.h

Issue 9976003: Minimize uses of lazy initialization by adding explicit initialization functions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/log.h
diff --git a/src/log.h b/src/log.h
index 129738757e2d8877076e9e73fa70f43d54d01389..9aa18cf69eb7765cbdd849163315449c5af7898a 100644
--- a/src/log.h
+++ b/src/log.h
@@ -437,6 +437,8 @@ class SamplerRegistry : public AllStatic {
HAS_CPU_PROFILING_SAMPLERS
};
+ static void GlobalSetUp();
+
typedef void (*VisitSampler)(Sampler*, void*);
static State GetState();

Powered by Google App Engine