summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2019-09-09 15:46:07 -0700
committerAaron Patterson <tenderlove@ruby-lang.org>2019-09-26 15:41:46 -0700
commit293c6c8cc3cd9a9cb2910672589ee3631e1f1653 (patch)
treeba7330ecfac15e4a60c88db7994a6a38d36da2c2 /gc.c
parent37f9213f8957e0c6dffee7d8803890907f97bdbb (diff)
Add compaction support to `rb_ast_t`
This commit adds compaction support to `rb_ast_t`.
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index c083fbb297..adb86b10a5 100644
--- a/gc.c
+++ b/gc.c
@@ -7918,6 +7918,8 @@ gc_ref_update_imemo(rb_objspace_t *objspace, VALUE obj)
rb_iseq_update_references((rb_iseq_t *)obj);
break;
case imemo_ast:
+ rb_ast_update_references((rb_ast_t *)obj);
+ break;
case imemo_parser_strterm:
case imemo_tmpbuf:
break;