Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index eebfb41c284661ab8f0c5e7f7342bdc3a7238227..15fca26788d56ad5a970d17bcbb834b3d796f244 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -1069,7 +1069,10 @@ PreParser::Expression PreParser::ParseV8Intrinsic(bool* ok) { |
} |
// Allow "eval" or "arguments" for backward compatibility. |
ParseIdentifier(kAllowEvalOrArguments, CHECK_OK); |
- ParseArguments(ok); |
+ Scanner::Location spread_pos; |
+ ParseArguments(&spread_pos, ok); |
+ |
+ DCHECK(!spread_pos.IsValid()); |
return Expression::Default(); |
} |