Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 9333e9edc4003e2dd7a9f4bb7884eb6645ed2d6e..d4120054153194e591dd378737b0d00934ecfc8a 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6787,6 +6787,8 @@ class SharedFunctionInfo: public HeapObject { |
inline int ic_age(); |
inline void set_ic_age(int age); |
+ DECL_BOOLEAN_ACCESSORS(optimize_next_closure) |
+ |
// Indicates if this function can be lazy compiled. |
// This is used to determine if we can safely flush code from a function |
// when doing GC if we expect that the function will no longer be used. |
@@ -7077,6 +7079,7 @@ class SharedFunctionInfo: public HeapObject { |
enum CompilerHints { |
kAllowLazyCompilation, |
kAllowLazyCompilationWithoutContext, |
+ kOptimizeNextClosure, |
kOptimizationDisabled, |
kStrictModeFunction, |
kUsesArguments, |
@@ -7302,7 +7305,7 @@ class JSFunction: public JSObject { |
// Mark this function for lazy recompilation. The function will be |
// recompiled the next time it is executed. |
void MarkForOptimization(); |
- void MarkForConcurrentOptimization(); |
+ void AttemptConcurrentOptimization(); |
void MarkInOptimizationQueue(); |
// Tells whether or not the function is already marked for lazy |