Index: src/runtime-profiler.h |
diff --git a/src/runtime-profiler.h b/src/runtime-profiler.h |
index f37456653b1ef3fff2b098eda9a4a8f8636de6ed..f7ca3f020df0cec8e62cb2d7ad43b430896a8f86 100644 |
--- a/src/runtime-profiler.h |
+++ b/src/runtime-profiler.h |
@@ -101,6 +101,8 @@ class RuntimeProfiler { |
void RemoveDeadSamples(); |
void UpdateSamplesAfterCompact(ObjectVisitor* visitor); |
+ void AttemptOnStackReplacement(JSFunction* function); |
+ |
private: |
static const int kSamplerWindowSize = 16; |
@@ -108,8 +110,6 @@ class RuntimeProfiler { |
void Optimize(JSFunction* function, const char* reason); |
- void AttemptOnStackReplacement(JSFunction* function); |
- |
void ClearSampleBuffer(); |
void ClearSampleBufferNewSpaceEntries(); |