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

Unified Diff: src/runtime-profiler.h

Issue 9431030: Support OSR in for-in loops. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Extend OptimizeFunctionOnNextCall with an arguments to force OSR. Created 8 years, 10 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
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();

Powered by Google App Engine
This is Rietveld 408576698