aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 777ba840f4..a6f2943ecd 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -320,6 +320,7 @@ vm_env_write_slowpath(const VALUE *ep, int index, VALUE v)
rb_gc_writebarrier_remember(VM_ENV_ENVVAL(ep));
VM_FORCE_WRITE(&ep[index], v);
VM_ENV_FLAGS_UNSET(ep, VM_ENV_FLAG_WB_REQUIRED);
+ RB_DEBUG_COUNTER_INC(lvar_set_slowpath);
}
static inline void