Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index bec72ef10f32618570f5e02035b5c16205d3b41e..a111fe7cdd9976a97deb4e3f6e0f40dd15d0f994 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -1135,28 +1135,6 @@ PreParser::Expression PreParser::ParseMemberExpressionContinuation( |
} |
-PreParser::Arguments PreParser::ParseArguments(bool* ok) { |
- // Arguments :: |
- // '(' (AssignmentExpression)*[','] ')' |
- |
- Expect(Token::LPAREN, ok); |
- if (!*ok) return -1; |
- bool done = (peek() == Token::RPAREN); |
- int argc = 0; |
- while (!done) { |
- ParseAssignmentExpression(true, ok); |
- if (!*ok) return -1; |
- argc++; |
- done = (peek() == Token::RPAREN); |
- if (!done) { |
- Expect(Token::COMMA, ok); |
- if (!*ok) return -1; |
- } |
- } |
- Expect(Token::RPAREN, ok); |
- return argc; |
-} |
- |
PreParser::Expression PreParser::ParseFunctionLiteral( |
Identifier function_name, |
Scanner::Location function_name_location, |