summaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-11 08:13:42 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-11 08:13:42 +0000
commitee0d9720c8dfb6a53a6b9a3164601ee91b0001c3 (patch)
tree9ab567e01bbd9312a34ed2c1c8139b0852236a7a /vm_core.h
parent0b78ee7ba9de3fce5200fc2634a39bf320f79049 (diff)
downloadruby-ee0d9720c8dfb6a53a6b9a3164601ee91b0001c3.tar.gz
ruby-ee0d9720c8dfb6a53a6b9a3164601ee91b0001c3.tar.xz
ruby-ee0d9720c8dfb6a53a6b9a3164601ee91b0001c3.zip
* class.c (clone_method): should copy cbase in cref as well.
[ruby-dev:35116] * iseq.c (iseq_mark): mark original iseq object. * iseq.c (iseq_free): do not free internal data if they have original iseq to belong. * iseq.c (rb_iseq_clone): a new function to clone iseq value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 88087a7db..f1a24e5f9 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -261,6 +261,7 @@ struct rb_iseq_struct {
/****************/
VALUE self;
+ VALUE orig; /* non-NULL if its data have origin */
/* block inlining */
/*