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

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

Issue 2686063002: [debugger] add precise mode for code coverage. (Closed)
Patch Set: fix flag 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | 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 bd65767ff7a281d180974593422df90a1cab0f5c..f56d6ff2f3a6201a198ddcfc4e5c239021e68ec9 100644
--- a/src/debug/debug-coverage.h
+++ b/src/debug/debug-coverage.h
@@ -8,7 +8,6 @@
#include <vector>
#include "src/allocation.h"
-#include "src/base/macros.h"
namespace v8 {
namespace internal {
@@ -31,6 +30,11 @@ class Coverage : public AllStatic {
};
static std::vector<ScriptData> Collect(Isolate* isolate);
+
+ // Enable precise code coverage. This disables optimization and makes sure
+ // invocation count is not affected by GC.
+ static void EnablePrecise(Isolate* isolate);
+ static void DisablePrecise(Isolate* isolate);
};
} // namespace internal
« no previous file with comments | « no previous file | src/debug/debug-coverage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698