Index: src/parsing/preparser.cc |
diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc |
index 4af7fca7b7160293229d8d8b9c47feb7526a28fc..b99181ee681c3928a7617fe08d12bc4342aadd4d 100644 |
--- a/src/parsing/preparser.cc |
+++ b/src/parsing/preparser.cc |
@@ -451,8 +451,8 @@ PreParser::Statement PreParser::ParseFunctionDeclaration(bool* ok) { |
: kFunctionNameValidityUnknown, |
is_generator ? FunctionKind::kGeneratorFunction |
: FunctionKind::kNormalFunction, |
- pos, FunctionLiteral::DECLARATION, |
- FunctionLiteral::NORMAL_ARITY, language_mode(), |
+ pos, FunctionLiteral::kDeclaration, |
+ FunctionLiteral::kNormalArity, language_mode(), |
CHECK_OK); |
return Statement::FunctionDeclaration(); |
} |