| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index d12896fb94d8d1aa2b0dce522c819f59dd3905e3..762c50c911a243a2c1133974202eefd525daa150 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -6783,6 +6783,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.
|
| @@ -7073,6 +7075,7 @@ class SharedFunctionInfo: public HeapObject {
|
| enum CompilerHints {
|
| kAllowLazyCompilation,
|
| kAllowLazyCompilationWithoutContext,
|
| + kOptimizeNextClosure,
|
| kOptimizationDisabled,
|
| kStrictModeFunction,
|
| kUsesArguments,
|
| @@ -7298,7 +7301,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
|
|
|