Index: src/parsing/preparse-data.cc |
diff --git a/src/parsing/preparse-data.cc b/src/parsing/preparse-data.cc |
index e9a4e8f4b5600ff9e8851b4b85279caf3afdaa3f..c3e261d5ab88dc8a8013d6bc6aedf70b2ef5ace7 100644 |
--- a/src/parsing/preparse-data.cc |
+++ b/src/parsing/preparse-data.cc |
@@ -16,7 +16,8 @@ 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 uses_super_property, bool calls_eval) { |
+ bool uses_super_property, bool calls_eval, |
+ int num_inner_functions) { |
function_store_.Add(start); |
function_store_.Add(end); |
function_store_.Add(num_parameters); |
@@ -26,6 +27,7 @@ void ParserLogger::LogFunction(int start, int end, int num_parameters, |
function_store_.Add( |
FunctionEntry::EncodeFlags(language_mode, uses_super_property, calls_eval, |
has_duplicate_parameters)); |
+ function_store_.Add(num_inner_functions); |
} |
ParserLogger::ParserLogger() { |