From 72c811a3d8a4bfe4b98219f225cc20784e373122 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 21 Aug 2010 11:10:24 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ vm.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5f12db81a5..d81e8c6774 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Aug 21 20:09:43 2010 NARUSE, Yui + + * vm.c: add missing prototype of rb_iseq_clone for r29063. + Sat Aug 21 18:54:56 2010 wanabe * vm.c (vm_define_method): copy iseq to avoid overwriting iseq->klass. diff --git a/vm.c b/vm.c index eb49722fcd..558e9805f6 100644 --- a/vm.c +++ b/vm.c @@ -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)