Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 1dfc153362c6831eb4c804614cb4cfb2bb0639cf..460f6647facb6bc7680f3dcf28c8ca583b081527 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -682,6 +682,11 @@ class Parser { |
ScriptDataImpl* pre_data_; |
FuncNameInferrer* fni_; |
bool stack_overflow_; |
+ // If true, the next (and immediately following) function literal is |
+ // preceded by a parenthesis. |
+ // Heuristically that means that the function will be called immediately, |
+ // so never lazily compile it. |
+ bool parenthesized_function_; |
}; |