mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm.c: add missing prototype of rb_iseq_clone for r29063.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d1b77f5eee
commit
72c811a3d8
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Sat Aug 21 20:09:43 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* vm.c: add missing prototype of rb_iseq_clone for r29063.
|
||||||
|
|
||||||
Sat Aug 21 18:54:56 2010 wanabe <s.wanabe@gmail.com>
|
Sat Aug 21 18:54:56 2010 wanabe <s.wanabe@gmail.com>
|
||||||
|
|
||||||
* vm.c (vm_define_method): copy iseq to avoid overwriting iseq->klass.
|
* vm.c (vm_define_method): copy iseq to avoid overwriting iseq->klass.
|
||||||
|
|
2
vm.c
2
vm.c
|
@ -1835,6 +1835,8 @@ rb_thread_alloc(VALUE klass)
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VALUE rb_iseq_clone(VALUE iseqval, VALUE newcbase);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
vm_define_method(rb_thread_t *th, VALUE obj, ID id, VALUE iseqval,
|
vm_define_method(rb_thread_t *th, VALUE obj, ID id, VALUE iseqval,
|
||||||
rb_num_t is_singleton, NODE *cref)
|
rb_num_t is_singleton, NODE *cref)
|
||||||
|
|
Loading…
Reference in a new issue