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

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

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/preparse-data.h ('k') | src/parsing/preparser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/preparse-data.cc
diff --git a/src/parsing/preparse-data.cc b/src/parsing/preparse-data.cc
index b7c76a421657534b1179969bd9ab14f82404414b..da90f2f3bd38c28a7781f9e4ff54eb7f83e982cb 100644
--- a/src/parsing/preparse-data.cc
+++ b/src/parsing/preparse-data.cc
@@ -15,15 +15,14 @@ namespace internal {
void ParserLogger::LogFunction(int start, int end, int num_parameters,
int function_length,
- bool has_duplicate_parameters, int literals,
- int properties, LanguageMode language_mode,
+ bool has_duplicate_parameters, int properties,
+ LanguageMode language_mode,
bool uses_super_property, bool calls_eval,
int num_inner_functions) {
function_store_.Add(start);
function_store_.Add(end);
function_store_.Add(num_parameters);
function_store_.Add(function_length);
- function_store_.Add(literals);
function_store_.Add(properties);
function_store_.Add(
FunctionEntry::EncodeFlags(language_mode, uses_super_property, calls_eval,
« no previous file with comments | « src/parsing/preparse-data.h ('k') | src/parsing/preparser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698