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

Unified Diff: src/parsing/preparse-data.h

Issue 2657413002: No need to collect literal counts.
Patch Set: Rebase. Created 3 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
« no previous file with comments | « src/parsing/parser-base.h ('k') | src/parsing/preparse-data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/preparse-data.h
diff --git a/src/parsing/preparse-data.h b/src/parsing/preparse-data.h
index ca70f8a45f3c74725d39e69d790739464671f69a..eb3847505e93cc7014c6d7357f7b8ae95b950b60 100644
--- a/src/parsing/preparse-data.h
+++ b/src/parsing/preparse-data.h
@@ -56,13 +56,12 @@ class PreParserLogger final {
num_inner_functions_(-1) {}
void LogFunction(int end, int num_parameters, int function_length,
- bool has_duplicate_parameters, int literals, int properties,
+ bool has_duplicate_parameters, int properties,
int num_inner_functions) {
end_ = end;
num_parameters_ = num_parameters;
function_length_ = function_length;
has_duplicate_parameters_ = has_duplicate_parameters;
- literals_ = literals;
properties_ = properties;
num_inner_functions_ = num_inner_functions;
}
@@ -77,9 +76,6 @@ class PreParserLogger final {
bool has_duplicate_parameters() const {
return has_duplicate_parameters_;
}
- int literals() const {
- return literals_;
- }
int properties() const {
return properties_;
}
@@ -91,7 +87,6 @@ class PreParserLogger final {
int num_parameters_;
int function_length_;
bool has_duplicate_parameters_;
- int literals_;
int properties_;
int num_inner_functions_;
};
@@ -101,7 +96,7 @@ class ParserLogger final {
ParserLogger();
void LogFunction(int start, int end, int num_parameters, int function_length,
- bool has_duplicate_parameters, int literals, int properties,
+ bool has_duplicate_parameters, int properties,
LanguageMode language_mode, bool uses_super_property,
bool calls_eval, int num_inner_functions);
« no previous file with comments | « src/parsing/parser-base.h ('k') | src/parsing/preparse-data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698