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

Unified Diff: src/parsing/preparser.h

Issue 2620943002: [ESnext] Implement Object Rest (Closed)
Patch Set: add todo and test Created 3 years, 11 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/parsing/preparser.h
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
index 1f822a46c3591e7b6922adf095ac8433b4dcf4ab..841118bb85c7219a14fc5320585cc9d88d111b0a 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -594,8 +594,8 @@ class PreParserFactory {
}
PreParserExpression NewObjectLiteral(PreParserExpressionList properties,
int literal_index,
- int boilerplate_properties,
- int pos) {
+ int boilerplate_properties, int pos,
+ bool has_rest_property) {
return PreParserExpression::ObjectLiteral(properties.variables_);
}
PreParserExpression NewVariableProxy(void* variable) {

Powered by Google App Engine
This is Rietveld 408576698