5 #ifndef V8_PARSING_PREPARSER_LOGGER_H_ 6 #define V8_PARSING_PREPARSER_LOGGER_H_ 13 PreParserLogger() : end_(-1), num_parameters_(-1), num_inner_functions_(-1) {}
15 void LogFunction(
int end,
int num_parameters,
int num_inner_functions) {
17 num_parameters_ = num_parameters;
18 num_inner_functions_ = num_inner_functions;
21 int end()
const {
return end_; }
22 int num_parameters()
const {
return num_parameters_; }
23 int num_inner_functions()
const {
return num_inner_functions_; }
29 int num_inner_functions_;
35 #endif // V8_PARSING_PREPARSER_LOGGER_H_