Index: src/parsing/preparser.cc |
diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc |
index 4a3f680f035d1384bb8d445bf5b40ec5b4ee2910..0f281ca01788516a64721de0dafb48d9cc075363 100644 |
--- a/src/parsing/preparser.cc |
+++ b/src/parsing/preparser.cc |
@@ -195,23 +195,6 @@ PreParser::Statement PreParser::ParseClassDeclaration( |
return Statement::Default(); |
} |
-PreParser::Statement PreParser::ParseBlock( |
- ZoneList<const AstRawString*>* labels, bool* ok) { |
- // Block :: |
- // '{' StatementList '}' |
- |
- Expect(Token::LBRACE, CHECK_OK); |
- Statement final = Statement::Default(); |
- { |
- BlockState block_state(&scope_state_); |
- while (peek() != Token::RBRACE) { |
- final = ParseStatementListItem(CHECK_OK); |
- } |
- } |
- Expect(Token::RBRACE, ok); |
- return final; |
-} |
- |
PreParser::Statement PreParser::ParseVariableStatement( |
VariableDeclarationContext var_context, |
ZoneList<const AstRawString*>* names, bool* ok) { |