| Index: src/scopes.h
|
| diff --git a/src/scopes.h b/src/scopes.h
|
| index 30c95ee4e5a1ef8afe302731bab6762eab1a5f95..9ce4cd7b1f119ee651f2523e0aa9ea98cf8b167a 100644
|
| --- a/src/scopes.h
|
| +++ b/src/scopes.h
|
| @@ -372,6 +372,11 @@ class Scope: public ZoneObject {
|
| // Determine if we can use lazy compilation for this scope.
|
| bool AllowsLazyCompilation() const;
|
|
|
| + // True if we can lazily recompile functions with this scope.
|
| + bool allows_lazy_recompilation() const {
|
| + return !force_eager_compilation_;
|
| + }
|
| +
|
| // True if the outer context of this scope is always the global context.
|
| bool HasTrivialOuterContext() const;
|
|
|
|
|