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

Unified Diff: src/interpreter/bytecode-array-builder.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/interpreter/bytecode-array-builder.h
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h
index cd87e94a07962bb1571a65e1c2397dc25436069f..b520501ca49f0a5e6bff32d9784a60f323636a3b 100644
--- a/src/interpreter/bytecode-array-builder.h
+++ b/src/interpreter/bytecode-array-builder.h
@@ -393,6 +393,10 @@ class V8_EXPORT_PRIVATE BytecodeArrayBuilder final
// Debugger.
BytecodeArrayBuilder& Debugger();
+ // Increment the block counter at the given slot. Used for block code coverage
+ // (go/v8-designdoc-block-code-coverage).
+ BytecodeArrayBuilder& IncBlockCounter(int slot);
+
// Complex flow control.
BytecodeArrayBuilder& ForInPrepare(Register receiver,
RegisterList cache_info_triple);

Powered by Google App Engine
This is Rietveld 408576698