summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def7
1 files changed, 5 insertions, 2 deletions
diff --git a/insns.def b/insns.def
index fb5e83c..2c1f7d3 100644
--- a/insns.def
+++ b/insns.def
@@ -951,10 +951,13 @@ getinlinecache
()
(VALUE val)
{
- val = vm_ic_hit_p(ic, GET_EP());
- if (val != Qnil) {
+ if (vm_ic_hit_p(ic, GET_EP())) {
+ val = ic->ic_value.value;
JUMP(dst);
}
+ else {
+ val = Qnil;
+ }
}
/* set inline cache */