* 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
@ -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…
x
Reference in New Issue
Block a user