Skip to content

Commit 14c8a54

Browse files
byrootko1
authored andcommitted
Update imemo_mask to match ruby's
The imemo mask has been `0xf` since Ruby 2.5 / ccfe37884ab566336380d0f21e15321d6382da8f This hasn't caused problems yet because the only possible conflict is `imemo_type = 15`, but it is not yet used.
1 parent a86adbb commit 14c8a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/debug/iseq_collector.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ size_t rb_obj_memsize_of(VALUE);
1010
// implementation specific.
1111
enum imemo_type {
1212
imemo_iseq = 7,
13-
imemo_mask = 0x07
13+
imemo_mask = 0xf
1414
};
1515

1616
static inline enum imemo_type

0 commit comments

Comments
 (0)