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

Unified Diff: src/debug/debug-coverage.h

Issue 2765813002: [debug] refactor code coverage to use enum for mode. (Closed)
Patch Set: fix d8 Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/d8.cc ('k') | src/debug/debug-coverage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug-coverage.h
diff --git a/src/debug/debug-coverage.h b/src/debug/debug-coverage.h
index 36128bc8a96388e62ca50dfd23f88c58ef523723..02c89e63f9ddff01e72dc7f382bcca90cb9abb40 100644
--- a/src/debug/debug-coverage.h
+++ b/src/debug/debug-coverage.h
@@ -39,9 +39,8 @@ class Coverage : public std::vector<CoverageScript> {
// The ownership is transferred to the caller.
static Coverage* Collect(Isolate* isolate, bool reset_count);
- // Enable precise code coverage. This disables optimization and makes sure
- // invocation count is not affected by GC.
- static void TogglePrecise(Isolate* isolate, bool enable);
+ // Select code coverage mode.
+ static void SelectMode(Isolate* isolate, debug::Coverage::Mode mode);
private:
Coverage() {}
« no previous file with comments | « src/d8.cc ('k') | src/debug/debug-coverage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698