summaryrefslogtreecommitdiff
path: root/deps/v8/src/runtime-profiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/runtime-profiler.h')
-rw-r--r--deps/v8/src/runtime-profiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/runtime-profiler.h b/deps/v8/src/runtime-profiler.h
index f37456653..f7ca3f020 100644
--- a/deps/v8/src/runtime-profiler.h
+++ b/deps/v8/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();