Index: src/runtime-profiler.h |
diff --git a/src/runtime-profiler.h b/src/runtime-profiler.h |
index 0d57929d060fe4dd5df60f7b97cc3c615d84eb0d..aa2f65eb296d5e3cfa17cc1bb00fc71373884d35 100644 |
--- a/src/runtime-profiler.h |
+++ b/src/runtime-profiler.h |
@@ -23,13 +23,16 @@ class RuntimeProfiler { |
public: |
explicit RuntimeProfiler(Isolate* isolate); |
- void OptimizeNow(); |
+ void MarkCandidatesForOptimization(); |
void NotifyICChanged() { any_ic_changed_ = true; } |
void AttemptOnStackReplacement(JSFunction* function, int nesting_levels = 1); |
private: |
+ void MaybeOptimizeFullCodegen(JSFunction* function, int frame_count, |
+ bool frame_optimized); |
+ void MaybeOptimizeIgnition(JSFunction* function, bool frame_optimized); |
void Optimize(JSFunction* function, const char* reason); |
bool CodeSizeOKForOSR(Code* shared_code); |