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

Side by Side Diff: src/debug/debug-coverage.h

Issue 2689493002: [debugger] implement per-function code coverage. (Closed)
Patch Set: one more fix, and rename 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/debug/debug-coverage.cc » ('j') | src/debug/debug-coverage.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698