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 |