diff options
Diffstat (limited to 'yjit/src')
-rw-r--r-- | yjit/src/core.rs | 1 | ||||
-rw-r--r-- | yjit/src/stats.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/yjit/src/core.rs b/yjit/src/core.rs index d07f8e0c8c..f2bde4a010 100644 --- a/yjit/src/core.rs +++ b/yjit/src/core.rs @@ -1669,6 +1669,7 @@ fn make_branch_entry(block: &BlockRef, gen_fn: BranchGenFn) -> BranchRef { // Add to the list of outgoing branches for the block let branchref = Rc::new(RefCell::new(branch)); block.borrow_mut().push_outgoing(branchref.clone()); + incr_counter!(compiled_branch_count); return branchref; } diff --git a/yjit/src/stats.rs b/yjit/src/stats.rs index f3d01a120e..03eec21b50 100644 --- a/yjit/src/stats.rs +++ b/yjit/src/stats.rs @@ -267,6 +267,7 @@ make_counters! { vm_insns_count, compiled_iseq_count, compiled_block_count, + compiled_branch_count, compilation_failure, freed_iseq_count, |