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

Unified Diff: src/isolate.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/interpreter/interpreter-generator.cc ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 1296a20b01e7e2171e74680fd01da1f9ac718bfe..e561f3474c6856ebbba0d6cbbf62164e99db230a 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1017,6 +1017,10 @@ class Isolate {
return code_coverage_mode() == debug::Coverage::kPreciseBinary;
}
+ bool is_block_count_code_coverage() const {
+ return code_coverage_mode() == debug::Coverage::kBlockCount;
+ }
+
void SetCodeCoverageList(Object* value);
double time_millis_since_init() {
« no previous file with comments | « src/interpreter/interpreter-generator.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698