mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 04:55:21 +02:00
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@18490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5898c07466
commit
e956f28724
4 changed files with 60 additions and 15 deletions
|
@ -261,6 +261,7 @@ struct rb_iseq_struct {
|
|||
/****************/
|
||||
|
||||
VALUE self;
|
||||
VALUE orig; /* non-NULL if its data have origin */
|
||||
|
||||
/* block inlining */
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue