Chromium Code Reviews

Unified Diff: src/parsing/preparser.h

Issue 2632503003: [runtime] Allocate space for computed property names (Closed)
Patch Set: Fix typo. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/parsing/preparser.h
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
index 35132104c72294306a9ccc6ad593f8d0c2ea7c0c..97783ff05f47d6eca28bf2560755eb02f6bc6b5a 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -594,7 +594,8 @@ class PreParserFactory {
}
PreParserExpression NewObjectLiteral(PreParserExpressionList properties,
int literal_index,
- int boilerplate_properties, int pos,
+ int boilerplate_properties,
+ bool has_seen_proto, int pos,
bool has_rest_property) {
return PreParserExpression::ObjectLiteral(properties.variables_);
}

Powered by Google App Engine