Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 9cda51672bd767a72d2a8ed31c2367a4488cb550..2fde80e16a16eaff183d154e4c8da225e017bb45 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -205,6 +205,11 @@ class Parser : public ParserBase<Parser> { |
friend class ParserBase<Parser>; |
friend class v8::internal::ExpressionClassifier<ParserTypes<Parser>>; |
+ bool AllowsLazyParsingWithoutUnresolvedVariables() const { |
+ return scope()->AllowsLazyParsingWithoutUnresolvedVariables( |
+ original_scope_); |
+ } |
+ |
// Runtime encoding of different completion modes. |
enum CompletionKind { |
kNormalCompletion, |