summaryrefslogtreecommitdiff
path: root/iseq.h
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-05 13:34:34 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-05 13:34:34 +0000
commit51782c7f38f39f2146b5882d56df0cb8d1ec1847 (patch)
tree59217cf224f41515c87a6433776a985d01759abc /iseq.h
parent7ac90158e284783159fefc37fa88fc2dc0bdd5a9 (diff)
merges r20535 from trunk into ruby_1_9_1.
* compile.c (ruby_iseq_compile, ruby_iseq_translate_threaded_code), (ruby_insns_name_array, ruby_iseq_build_from_ary): prefixed with ruby_. * iseq.c (ruby_iseq_load, ruby_insn_make_insn_table): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/iseq.h b/iseq.h
index 631ef30e9d..393ba67593 100644
--- a/iseq.h
+++ b/iseq.h
@@ -12,7 +12,16 @@
#ifndef RUBY_COMPILE_H
#define RUBY_COMPILE_H
-VALUE iseq_load(VALUE self, VALUE data, VALUE parent, VALUE opt);
+/* compile.c */
+VALUE ruby_iseq_compile(VALUE self, NODE *node);
+int ruby_iseq_translate_threaded_code(rb_iseq_t *iseq);
+VALUE ruby_insns_name_array(void);
+VALUE ruby_iseq_build_from_ary(rb_iseq_t *iseq, VALUE locals, VALUE args,
+ VALUE exception, VALUE body);
+
+/* iseq.c */
+VALUE ruby_iseq_load(VALUE data, VALUE parent, VALUE opt);
+struct st_table *ruby_insn_make_insn_table(void);
#define ISEQ_TYPE_TOP INT2FIX(1)
#define ISEQ_TYPE_METHOD INT2FIX(2)