Skip to content

Commit 5974841

Browse files
committed
Remove outdated references to FL_SEEN_OBJ_ID
1 parent 425fa0a commit 5974841

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

include/ruby/internal/fl_type.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
#define FL_TAINT RBIMPL_CAST((VALUE)RUBY_FL_TAINT) /**< @old{RUBY_FL_TAINT} */
6363
#define FL_SHAREABLE RBIMPL_CAST((VALUE)RUBY_FL_SHAREABLE) /**< @old{RUBY_FL_SHAREABLE} */
6464
#define FL_UNTRUSTED RBIMPL_CAST((VALUE)RUBY_FL_UNTRUSTED) /**< @old{RUBY_FL_UNTRUSTED} */
65-
#define FL_SEEN_OBJ_ID RBIMPL_CAST((VALUE)RUBY_FL_SEEN_OBJ_ID) /**< @old{RUBY_FL_SEEN_OBJ_ID} */
6665
#define FL_EXIVAR RBIMPL_CAST((VALUE)RUBY_FL_EXIVAR) /**< @old{RUBY_FL_EXIVAR} */
6766
#define FL_FREEZE RBIMPL_CAST((VALUE)RUBY_FL_FREEZE) /**< @old{RUBY_FL_FREEZE} */
6867

ractor.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3598,7 +3598,6 @@ move_leave(VALUE obj, struct obj_traverse_replace_data *data)
35983598
}
35993599

36003600
// Avoid mutations using bind_call, etc.
3601-
// We keep FL_SEEN_OBJ_ID so GC later clean the obj_id_table.
36023601
MEMZERO((char *)obj + sizeof(struct RBasic), char, size - sizeof(struct RBasic));
36033602
RBASIC(obj)->flags = T_OBJECT | FL_FREEZE;
36043603
RBASIC_SET_CLASS_RAW(obj, rb_cRactorMovedObject);

0 commit comments

Comments
 (0)