1
0
Fork 0
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:
naruse 2010-08-21 11:10:24 +00:00
parent d1b77f5eee
commit 72c811a3d8
2 changed files with 6 additions and 0 deletions

View file

@ -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>
* vm.c (vm_define_method): copy iseq to avoid overwriting iseq->klass.

2
vm.c
View file

@ -1835,6 +1835,8 @@ rb_thread_alloc(VALUE klass)
return self;
}
VALUE rb_iseq_clone(VALUE iseqval, VALUE newcbase);
static void
vm_define_method(rb_thread_t *th, VALUE obj, ID id, VALUE iseqval,
rb_num_t is_singleton, NODE *cref)