summaryrefslogtreecommitdiff
path: root/imemo.c
diff options
context:
space:
mode:
-rw-r--r--imemo.c4
1 files changed, 1 insertions, 3 deletions
@@ -215,9 +215,7 @@ rb_cc_table_mark(VALUE klass)
static bool
moved_or_living_object_strictly_p(VALUE obj)
{
- return obj &&
- rb_gc_is_ptr_to_obj((void *)obj) &&
- (rb_objspace_markable_object_p(obj) || BUILTIN_TYPE(obj) == T_MOVED);
}
static void