summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index 669c491..2ffd0ea 100644
--- a/insns.def
+++ b/insns.def
@@ -1222,7 +1222,8 @@ setinlinecache
IC ic = GET_CONST_INLINE_CACHE(dst);
ic->ic_value = val;
- ic->ic_vmstat = GET_VM_STATE_VERSION();
+ ic->ic_vmstat = GET_VM_STATE_VERSION() - ruby_vm_const_missing_count;
+ ruby_vm_const_missing_count = 0;
}
/**