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

Unified Diff: src/parsing/preparser.h

Issue 2620943002: [ESnext] Implement Object Rest (Closed)
Patch Set: fix nits 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
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/preparser.h
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
index 77fe061f42a40798847e39f6f17fa80a49d5e9b7..db2edf7935ec1bd788b3c45aacd1a616b7071447 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) {
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698