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

Unified Diff: src/parsing/preparser.h

Issue 2655853010: [TypeFeedbackVector] Combine the literals array and the feedback vector. (Closed)
Patch Set: more comments. 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/profiler/heap-snapshot-generator.cc » ('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 30117a685b5af4c476e8dee4acbcb31ca1901ea8..f118139706da1c3d05379521a2e723495ff21435 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -566,13 +566,11 @@ class PreParserFactory {
return PreParserExpression::Default();
}
PreParserExpression NewRegExpLiteral(PreParserIdentifier js_pattern,
- int js_flags, int literal_index,
- int pos) {
+ int js_flags, int pos) {
return PreParserExpression::Default();
}
PreParserExpression NewArrayLiteral(PreParserExpressionList values,
- int first_spread_index, int literal_index,
- int pos) {
+ int first_spread_index, int pos) {
return PreParserExpression::ArrayLiteral(values.variables_);
}
PreParserExpression NewClassLiteralProperty(PreParserExpression key,
@@ -594,7 +592,6 @@ class PreParserFactory {
return PreParserExpression::Default(value.variables_);
}
PreParserExpression NewObjectLiteral(PreParserExpressionList properties,
- int literal_index,
int boilerplate_properties, int pos,
bool has_rest_property) {
return PreParserExpression::ObjectLiteral(properties.variables_);
@@ -1585,8 +1582,6 @@ class PreParser : public ParserBase<PreParser> {
}
}
- V8_INLINE void ReindexLiterals(const PreParserFormalParameters& parameters) {}
-
V8_INLINE PreParserExpression NoTemplateTag() {
return PreParserExpression::NoTemplateTag();
}
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | src/profiler/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698