summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def10
1 files changed, 5 insertions, 5 deletions
diff --git a/insns.def b/insns.def
index 4acbcef1cb..3b52527e2e 100644
--- a/insns.def
+++ b/insns.def
@@ -1174,7 +1174,7 @@ getinlinecache
(VALUE val)
{
if (ic->ic_vmstat == GET_VM_STATE_VERSION()) {
- val = ic->ic_value;
+ val = ic->ic_value.value;
JUMP(dst);
}
else {
@@ -1195,12 +1195,12 @@ onceinlinecache
(VALUE val)
{
if (ic->ic_vmstat) {
- val = ic->ic_value;
+ val = ic->ic_value.value;
JUMP(dst);
}
else {
/* none */
- ic->ic_value = Qundef;
+ ic->ic_value.value = Qundef;
val = Qnil;
}
}
@@ -1218,10 +1218,10 @@ setinlinecache
{
IC ic = GET_CONST_INLINE_CACHE(dst);
- if (ic->ic_value == Qundef) {
+ if (ic->ic_value.value == Qundef) {
rb_ary_push(GET_ISEQ()->mark_ary, val);
}
- ic->ic_value = val;
+ ic->ic_value.value = val;
ic->ic_vmstat = GET_VM_STATE_VERSION() - ruby_vm_const_missing_count;
ruby_vm_const_missing_count = 0;
}