summaryrefslogtreecommitdiff
path: root/coverage/tracer.c
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/tracer.c')
-rw-r--r--coverage/tracer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/coverage/tracer.c b/coverage/tracer.c
index b2389228..c318e9ed 100644
--- a/coverage/tracer.c
+++ b/coverage/tracer.c
@@ -41,6 +41,7 @@ typedef struct {
PyObject * should_trace;
PyObject * data;
PyObject * should_trace_cache;
+ PyObject * branch;
int started;
/* The index of the last-used entry in tracenames. */
int depth;
@@ -301,6 +302,9 @@ Tracer_members[] = {
{ "should_trace_cache", T_OBJECT, offsetof(Tracer, should_trace_cache), 0,
PyDoc_STR("Dictionary caching should_trace results.") },
+ { "branch", T_OBJECT, offsetof(Tracer, branch), 0,
+ PyDoc_STR("Should we trace branches?") },
+
{ NULL }
};