summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-29 21:21:13 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-29 21:21:13 +0000
commit648aa500d60f48640e789ac6b478ad4e2cc54bb4 (patch)
tree9922b369d95697b504dd02a23168205742ebb589 /insns.def
parentb08d139cc5dd1fe26212a93b869e6fbcdeb0d412 (diff)
* insns.def: nobody set ic->ic_value.value to Qundef.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def4
1 files changed, 1 insertions, 3 deletions
diff --git a/insns.def b/insns.def
index cbe36debcc..6b3f6dcf7e 100644
--- a/insns.def
+++ b/insns.def
@@ -1185,9 +1185,7 @@ setinlinecache
(VALUE val)
(VALUE val)
{
- if (ic->ic_value.value == Qundef) {
- rb_iseq_add_mark_object(GET_ISEQ(), val);
- }
+ VM_ASSERT(ic->ic_value.value != Qundef);
ic->ic_value.value = val;
ic->ic_serial = GET_GLOBAL_CONSTANT_STATE() - ruby_vm_const_missing_count;
ic->ic_cref = rb_vm_get_cref(GET_EP());