Skip to content

Commit 74dac07

Browse files
committed
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.
1 parent 2e7e78c commit 74dac07

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

vm_callinfo.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,14 +297,13 @@ struct rb_callcache {
297297
} aux_;
298298
};
299299

300-
#define VM_CALLCACHE_UNMARKABLE FL_FREEZE
301-
#define VM_CALLCACHE_ON_STACK FL_EXIVAR
302-
303300
/* VM_CALLCACHE_IVAR used for IVAR/ATTRSET/STRUCT_AREF/STRUCT_ASET methods */
304301
#define VM_CALLCACHE_IVAR IMEMO_FL_USER0
305302
#define VM_CALLCACHE_BF IMEMO_FL_USER1
306303
#define VM_CALLCACHE_SUPER IMEMO_FL_USER2
307304
#define VM_CALLCACHE_REFINEMENT IMEMO_FL_USER3
305+
#define VM_CALLCACHE_UNMARKABLE IMEMO_FL_USER4
306+
#define VM_CALLCACHE_ON_STACK IMEMO_FL_USER5
308307

309308
enum vm_cc_type {
310309
cc_type_normal, // chained from ccs

0 commit comments

Comments
 (0)