Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index 8c61b7db85159a6405abada086faee0c6b535767..d5d1b6fa6c34f1022392271386522ee748dc9cb2 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -1017,7 +1017,11 @@ 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); |
+ |
+ // TODO(caitp): support intrinsics |
+ DCHECK(!spread_pos.IsValid()); |
return Expression::Default(); |
} |