From 68a533c61164392a9524d19f11f163a6c7e811ba Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 23 Sep 2008 08:10:20 +0000 Subject: * class.c, vm_core.h: move decl of rb_iseq_clone() to class.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ class.c | 2 ++ vm_core.h | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4c4b47843b..e41ed575b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Sep 23 17:05:14 2008 Koichi Sasada + + * class.c, vm_core.h: move decl of rb_iseq_clone() to class.c. + Tue Sep 23 17:02:47 2008 Tanaka Akira * debug.h (ruby_set_debug_option): declared. diff --git a/class.c b/class.c index 792c8d32ad..c3f819b477 100644 --- a/class.c +++ b/class.c @@ -70,6 +70,8 @@ struct clone_method_data { VALUE klass; }; +VALUE rb_iseq_clone(VALUE iseqval, VALUE newcbase); + static int clone_method(ID mid, NODE *body, struct clone_method_data *data) { diff --git a/vm_core.h b/vm_core.h index 87d1e4014f..7b7c51f4cd 100644 --- a/vm_core.h +++ b/vm_core.h @@ -455,7 +455,6 @@ VALUE rb_iseq_compile(VALUE src, VALUE file, VALUE line); VALUE ruby_iseq_disasm(VALUE self); VALUE ruby_iseq_disasm_insn(VALUE str, VALUE *iseqval, int pos, rb_iseq_t *iseq, VALUE child); const char *ruby_node_name(int node); -VALUE rb_iseq_clone(VALUE iseqval, VALUE newcbase); int rb_iseq_first_lineno(rb_iseq_t *iseq); RUBY_EXTERN VALUE rb_cISeq; -- cgit v1.2.3