Index: src/parsing/preparser.h |
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h |
index 26ddf233b4f3a91663400c4f8f097c297b1a1e3f..41711d6f5c6490dba9cb31ea3e343f27df6c842b 100644 |
--- a/src/parsing/preparser.h |
+++ b/src/parsing/preparser.h |
@@ -520,10 +520,11 @@ class PreParserFactory { |
int pos) { |
return PreParserExpression::Default(); |
} |
- PreParserExpression NewCall(PreParserExpression expression, |
- PreParserExpressionList arguments, |
- int pos) { |
- if (expression.IsIdentifier() && expression.AsIdentifier().IsEval()) { |
+ PreParserExpression NewCall( |
+ PreParserExpression expression, PreParserExpressionList arguments, |
+ int pos, Call::PossiblyEval possibly_eval = Call::NOT_EVAL) { |
+ if (possibly_eval == Call::IS_POSSIBLY_EVAL) { |
+ DCHECK(expression.IsIdentifier() && expression.AsIdentifier().IsEval()); |
return PreParserExpression::CallEval(); |
} |
return PreParserExpression::Call(); |