aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/debug/interface-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/debug/interface-types.h')
-rw-r--r--deps/v8/src/debug/interface-types.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/deps/v8/src/debug/interface-types.h b/deps/v8/src/debug/interface-types.h
index 2d38120da5..4cc742b367 100644
--- a/deps/v8/src/debug/interface-types.h
+++ b/deps/v8/src/debug/interface-types.h
@@ -86,6 +86,30 @@ enum BreakLocationType {
kCommonBreakLocation
};
+enum class CoverageMode {
+ // Make use of existing information in feedback vectors on the heap.
+ // Only return a yes/no result. Optimization and GC are not affected.
+ // Collecting best effort coverage does not reset counters.
+ kBestEffort,
+ // Disable optimization and prevent feedback vectors from being garbage
+ // collected in order to preserve precise invocation counts. Collecting
+ // precise count coverage resets counters to get incremental updates.
+ kPreciseCount,
+ // We are only interested in a yes/no result for the function. Optimization
+ // and GC can be allowed once a function has been invoked. Collecting
+ // precise binary coverage resets counters for incremental updates.
+ kPreciseBinary,
+ // Similar to the precise coverage modes but provides coverage at a
+ // lower granularity. Design doc: goo.gl/lA2swZ.
+ kBlockCount,
+ kBlockBinary,
+};
+
+enum class TypeProfileMode {
+ kNone,
+ kCollect,
+};
+
class V8_EXPORT_PRIVATE BreakLocation : public Location {
public:
BreakLocation(int line_number, int column_number, BreakLocationType type)