summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-20 02:40:41 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-20 02:40:41 +0000
commitc784da17448c40e55cdd231724bfe4bf53da35a1 (patch)
treea769a02c7051c534b79f5dcc168d00fdf6a40440 /iseq.c
parent6c4fd432d0242647149906f7433a9f5025819d07 (diff)
Update MJIT references
ISeq can move, so we need to tell MJIT where the new location is. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iseq.c b/iseq.c
index 82f045d62a..0ead40fec2 100644
--- a/iseq.c
+++ b/iseq.c
@@ -262,6 +262,9 @@ rb_iseq_update_references(rb_iseq_t *iseq)
}
}
}
+#if USE_MJIT
+ mjit_update_references(iseq);
+#endif
}
}