Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index 5a6a094f6af52b7ba025e9d4ff9c0450499497f7..86040364e96d51332316ff8ba38785fa18211318 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -1043,7 +1043,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 |
arv (Not doing code reviews)
2015/03/30 22:19:49
I don't think we need to support that.
|
+ DCHECK(!spread_pos.IsValid()); |
return Expression::Default(); |
} |