summaryrefslogtreecommitdiff
path: root/vm_callinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_callinfo.h')
-rw-r--r--vm_callinfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_callinfo.h b/vm_callinfo.h
index 0b224a3367..0ce25c2c0f 100644
--- a/vm_callinfo.h
+++ b/vm_callinfo.h
@@ -297,14 +297,13 @@ struct rb_callcache {
} aux_;
};
-#define VM_CALLCACHE_UNMARKABLE FL_FREEZE
-#define VM_CALLCACHE_ON_STACK FL_EXIVAR
-
/* VM_CALLCACHE_IVAR used for IVAR/ATTRSET/STRUCT_AREF/STRUCT_ASET methods */
#define VM_CALLCACHE_IVAR IMEMO_FL_USER0
#define VM_CALLCACHE_BF IMEMO_FL_USER1
#define VM_CALLCACHE_SUPER IMEMO_FL_USER2
#define VM_CALLCACHE_REFINEMENT IMEMO_FL_USER3
+#define VM_CALLCACHE_UNMARKABLE IMEMO_FL_USER4
+#define VM_CALLCACHE_ON_STACK IMEMO_FL_USER5
enum vm_cc_type {
cc_type_normal, // chained from ccs
@@ -345,6 +344,7 @@ vm_cc_new(VALUE klass,
break;
case cc_type_refinement:
*(VALUE *)&cc->flags |= VM_CALLCACHE_REFINEMENT;
+ rb_vm_insert_cc_refinement(cc);
break;
}