Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index 1336857593f621de7f3349c0be30ed86a12cdb7c..7ce8e3d91aa4628d1d5dde2474ac10cc9164bab7 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -653,8 +653,7 @@ PreParser::Statement PreParser::ParseWhileStatement(bool* ok) { |
bool PreParser::CheckInOrOf(bool accept_OF) { |
if (Check(Token::IN) || |
- (allow_for_of() && accept_OF && |
- CheckContextualKeyword(CStrVector("of")))) { |
+ (accept_OF && CheckContextualKeyword(CStrVector("of")))) { |
return true; |
} |
return false; |