| Index: src/preparser.cc
|
| diff --git a/src/preparser.cc b/src/preparser.cc
|
| index b658f5cbdf0bb5befe778782249f4db3a21c0b5e..a60742aca9fe9a08d9ca33f76d4c2d75e1be4f80 100644
|
| --- a/src/preparser.cc
|
| +++ b/src/preparser.cc
|
| @@ -332,7 +332,7 @@ PreParser::Statement PreParser::ParseFunctionDeclaration(bool* ok) {
|
| // '{' FunctionBody '}'
|
| Expect(Token::FUNCTION, CHECK_OK);
|
| int pos = position();
|
| - bool is_generator = allow_generators() && Check(Token::MUL);
|
| + bool is_generator = Check(Token::MUL);
|
| bool is_strict_reserved = false;
|
| Identifier name = ParseIdentifierOrStrictReservedWord(
|
| &is_strict_reserved, CHECK_OK);
|
|
|