Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index e7fff33d3bf7f6d47b96a9debbe5ac7a52c0957f..74437ea962c6811d83b898e226330cd56865cd6f 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -1021,7 +1021,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(); |
} |