summaryrefslogtreecommitdiff
path: root/vm_callinfo.h
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-06-13 09:11:28 +0200
committerJean Boussier <[email protected]>2025-06-13 10:08:42 +0200
commitdd4c5acc0f6a6b3858c784438364a766f5975617 ()
tree4fcded5fa508e1a5f67753944683676d94b56355 /vm_callinfo.h
parent2e7e78cd590d20aa9d41422e96302f3edd73f623 (diff)
vm_callinfo.h: Stick to using user flags
For some unclear reasons VM_CALLCACHE_UNMARKABLE and VM_CALLCACHE_UNMARKABLE used global flags rather than the available IMEMO_FL_USER flags.
Notes: Merged: https://.com/ruby/ruby/pull/13604
-rw-r--r--vm_callinfo.h5
1 files changed, 2 insertions, 3 deletions
@@ -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
enum vm_cc_type {
cc_type_normal, // chained from ccs