summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 08:10:20 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 08:10:20 +0000
commit9a207a840db34f04d7b08603f0debb251eb48893 (patch)
tree03f8d8bb69766cbf5ca4fd3dba9e586289213f48
parent84e14078a0b1ebfe560baaa86766170edadc1e5f (diff)
downloadruby-9a207a840db34f04d7b08603f0debb251eb48893.tar.gz
ruby-9a207a840db34f04d7b08603f0debb251eb48893.tar.xz
ruby-9a207a840db34f04d7b08603f0debb251eb48893.zip
* class.c, vm_core.h: move decl of rb_iseq_clone() to class.c.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--class.c2
-rw-r--r--vm_core.h1
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c4b47843..e41ed575b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Sep 23 17:05:14 2008 Koichi Sasada <ko1@atdot.net>
+
+ * class.c, vm_core.h: move decl of rb_iseq_clone() to class.c.
+
Tue Sep 23 17:02:47 2008 Tanaka Akira <akr@fsij.org>
* debug.h (ruby_set_debug_option): declared.
diff --git a/class.c b/class.c
index 792c8d32a..c3f819b47 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 87d1e4014..7b7c51f4c 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;