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

Unified Diff: src/objects/shared-function-info.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/objects/debug-objects-inl.h ('k') | src/parsing/parser-base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects/shared-function-info.h
diff --git a/src/objects/shared-function-info.h b/src/objects/shared-function-info.h
index 5ecc91dd70f876a1fb20d38103cfd5d84e6c6a5d..3fb5f1639fdf3eb2e18f7d795ea7340bd70b3639 100644
--- a/src/objects/shared-function-info.h
+++ b/src/objects/shared-function-info.h
@@ -177,6 +177,10 @@ class SharedFunctionInfo : public HeapObject {
// to simplify access.
bool HasBreakInfo() const;
+ // Coverage infos are contained in DebugInfo, this is a convenience method
+ // to simplify access.
+ bool HasCoverageInfo() const;
+
// A function has debug code if the compiled code has debug break slots.
inline bool HasDebugCode() const;
« no previous file with comments | « src/objects/debug-objects-inl.h ('k') | src/parsing/parser-base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698