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

Unified Diff: src/factory.h

Issue 2882973002: [coverage] Block coverage with support for IfStatements (Closed)
Patch Set: Comment nit Created 3 years, 7 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
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 81462055593acb61d6fe66a0740a5a8b51fffacd..27a7ebc1466008dc7c87e79ddc6518754e179a0c 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -19,6 +19,7 @@ namespace internal {
class BoilerplateDescription;
class ConstantElementsPair;
+struct SourceRange;
enum FunctionMode {
// With prototype.
@@ -772,6 +773,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,

Powered by Google App Engine
This is Rietveld 408576698