Index: src/parsing/preparser.h |
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h |
index d9f016d2218168d41ebb38137fbe8ba3e771e984..d89cdbaf25834e9b951586d209059f96a8908d26 100644 |
--- a/src/parsing/preparser.h |
+++ b/src/parsing/preparser.h |
@@ -692,14 +692,6 @@ class PreParserTraits { |
static void CheckAssigningFunctionLiteralToProperty( |
PreParserExpression left, PreParserExpression right) {} |
- static void CheckPossibleEvalCall(PreParserExpression expression, |
- Scope* scope) { |
- if (IsIdentifier(expression) && IsEval(AsIdentifier(expression))) { |
- scope->DeclarationScope()->RecordEvalCall(); |
- scope->RecordEvalCall(); |
- } |
- } |
- |
static PreParserExpression MarkExpressionAsAssigned( |
PreParserExpression expression) { |
// TODO(marja): To be able to produce the same errors, the preparser needs |