Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: src/preparser.cc

Issue 938443002: [es6] implement spread calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add construct support, clean out some gunk Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/preparser.cc
diff --git a/src/preparser.cc b/src/preparser.cc
index 8c61b7db85159a6405abada086faee0c6b535767..28817449b38f16da90f9ca229a28869050b53f92 100644
--- a/src/preparser.cc
+++ b/src/preparser.cc
@@ -1017,7 +1017,8 @@ 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);
arv (Not doing code reviews) 2015/02/18 15:07:06 Does this work?
caitp (gmail) 2015/02/18 15:32:08 No --- In the other patch I was throwing an error
arv (Not doing code reviews) 2015/02/18 15:36:54 Maybe a DCHECK for now then?
return Expression::Default();
}

Powered by Google App Engine
This is Rietveld 408576698