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

Unified Diff: src/factory.h

Issue 2882973002: [coverage] Block coverage with support for IfStatements (Closed)
Patch Set: Address comments Created 3 years, 6 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/debug/debug-interface.h ('k') | src/factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index be3aee8e1a2079d26a5a3daf86250ec34de1e01e..8c4aba38c95d49ecfc8822f3c4ba3ac5077e8fe8 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -20,7 +20,9 @@ namespace internal {
class BreakPointInfo;
class BoilerplateDescription;
class ConstantElementsPair;
+class CoverageInfo;
class DebugInfo;
+struct SourceRange;
enum FunctionMode {
// With prototype.
@@ -778,6 +780,8 @@ class V8_EXPORT_PRIVATE Factory final {
Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared);
+ Handle<CoverageInfo> NewCoverageInfo(const ZoneVector<SourceRange>& slots);
+
// Return a map for given number of properties using the map cache in the
// native context.
Handle<Map> ObjectLiteralMapFromCache(Handle<Context> native_context,
« no previous file with comments | « src/debug/debug-interface.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698