aboutsummaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-12-16 06:24:07 -0800
committerGitHub <noreply@github.com>2020-12-16 06:24:07 -0800
commit53babf35ef5b643774636550ea23851e2607e076 (patch)
treea18e660dd7f39718188fb161fd453c6c39097a14 /insns.def
parentbfb374be2342d7822cd37a1b100cb1715f85ca74 (diff)
downloadruby-53babf35ef5b643774636550ea23851e2607e076.tar.gz
Inline getconstant on JIT (#3906)
* Inline getconstant on JIT * Support USE_MJIT=0
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index 09bb9e1b5b..1c94a7f7f8 100644
--- a/insns.def
+++ b/insns.def
@@ -1023,7 +1023,7 @@ opt_getinlinecache
()
(VALUE val)
{
- if (vm_ic_hit_p(ic, GET_EP())) {
+ if (vm_ic_hit_p(ic->ic_serial, ic->ic_cref, GET_EP())) {
val = ic->value;
JUMP(dst);
}