OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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_DEBUG_DEBUG_COVERAGE_H_ | |
6 #define V8_DEBUG_DEBUG_COVERAGE_H_ | |
7 | |
8 #include <vector> | |
9 #include "src/isolate.h" | |
jgruber
2017/02/09 15:43:22
Nit: We can do a forward declaration of Isolate he
| |
10 | |
11 namespace v8 { | |
12 namespace internal { | |
13 | |
14 class Coverage : public AllStatic { | |
15 public: | |
16 struct RangeEntry { | |
17 int end_position; | |
18 uint32_t count; | |
19 }; | |
20 | |
21 struct ScriptData { | |
22 int script_id; | |
23 std::vector<RangeEntry> entries; | |
24 }; | |
25 | |
26 static std::vector<ScriptData> Collect(Isolate* isolate); | |
27 }; | |
28 | |
29 } // namespace internal | |
30 } // namespace v8 | |
31 | |
32 #endif // V8_DEBUG_DEBUG_COVERAGE_H_ | |
OLD | NEW |