From 20d9aefccbc5d9b5f9feacef9ee52dc1731aec55 Mon Sep 17 00:00:00 2001
From: ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Mon, 13 Jul 2009 09:30:23 +0000
Subject: * vm_core.h, compile.c: declare struct iseq_inline_cache_entry.  
 Inline cache (IC) entries are no longer GC managed object.   IC entries are
 freed when ISeq is freed. * iseq.c: fix mark, free, memsize functions for
 above change. * insns.def: remove rb_gc_write_barrier(). * vm_insnhelper.c
 (vm_method_search): ditto. * tool/instruction.rb,
 template/insns_info.inc.tmpl (insn_iclen):   added.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 insns.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'insns.def')

diff --git a/insns.def b/insns.def
index d7a06f6a12..7ce5b920a4 100644
--- a/insns.def
+++ b/insns.def
@@ -1223,7 +1223,7 @@ setinlinecache
 {
     IC ic = GET_CONST_INLINE_CACHE(dst);
 
-    ic->ic_value = rb_gc_write_barrier(val);
+    ic->ic_value = val;
     ic->ic_vmstat = GET_VM_STATE_VERSION() - ruby_vm_const_missing_count;
     ruby_vm_const_missing_count = 0;
 }
-- 
cgit v1.2.3

