v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
preparser-logger.h
Go to the documentation of this file.
1// Copyright 2018 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_PARSING_PREPARSER_LOGGER_H_
6#define V8_PARSING_PREPARSER_LOGGER_H_
7
8namespace v8 {
9namespace internal {
10
11class PreParserLogger final {
12 public:
18
26
27 int end() const { return end_; }
28 int num_parameters() const { return num_parameters_; }
29 int function_length() const { return function_length_; }
30 int num_inner_infos() const { return num_inner_infos_; }
31
32 private:
33 int end_;
34 // For function entries.
38};
39
40} // namespace internal
41} // namespace v8.
42
43#endif // V8_PARSING_PREPARSER_LOGGER_H_
void LogFunction(int end, int num_parameters, int function_length, int num_inner_infos)