From 3ef4db15e95740839a0ed6d0224b2c9562bb2544 Mon Sep 17 00:00:00 2001 From: tenderlove Date: Tue, 9 Apr 2019 20:32:04 +0000 Subject: Adding `GC.compact` and compacting GC support. This commit adds the new method `GC.compact` and compacting GC support. Please see this issue for caveats: https://bugs.ruby-lang.org/issues/15626 [Feature #15626] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_method.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_method.c') diff --git a/vm_method.c b/vm_method.c index c5ca644230..96a2656f87 100644 --- a/vm_method.c +++ b/vm_method.c @@ -671,7 +671,7 @@ MJIT_FUNC_EXPORTED void rb_add_method_iseq(VALUE klass, ID mid, const rb_iseq_t *iseq, rb_cref_t *cref, rb_method_visibility_t visi) { struct { /* should be same fields with rb_method_iseq_struct */ - const rb_iseq_t *iseqptr; + rb_iseq_t *iseqptr; rb_cref_t *cref; } iseq_body; -- cgit v1.2.3