| Index: src/objects.h
|
| ===================================================================
|
| --- src/objects.h (revision 4799)
|
| +++ src/objects.h (working copy)
|
| @@ -3306,6 +3306,12 @@
|
| inline bool try_full_codegen();
|
| inline void set_try_full_codegen(bool flag);
|
|
|
| + // 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.
|
| + inline bool allows_lazy_compilation();
|
| + inline void set_allows_lazy_compilation(bool flag);
|
| +
|
| // Check whether a inlined constructor can be generated with the given
|
| // prototype.
|
| bool CanGenerateInlineConstructor(Object* prototype);
|
| @@ -3431,6 +3437,7 @@
|
| // Bit positions in compiler_hints.
|
| static const int kHasOnlySimpleThisPropertyAssignments = 0;
|
| static const int kTryFullCodegen = 1;
|
| + static const int kAllowLazyCompilation = 2;
|
|
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(SharedFunctionInfo);
|
| };
|
|
|