From 9b520ddcec94c4654ca36bbb404bf4e9569b70cc Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 19 Jan 2009 03:03:09 +0000 Subject: * vm_eval.c, eval.c (rb_f_block_given_p): move definition of "iterator?" and "block_given?" to make static. * vm.c (vm_get_ruby_level_caller_cfp): make it static. * eval_intern.h, vm_insnhelper.c: move decl. of vm_get_ruby_level_caller_cfp() from eval_intern.h to vm_insnhelper.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_insnhelper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vm_insnhelper.c') diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 83b9e7f535..7b4fd37979 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -18,6 +18,8 @@ #define INLINE inline #endif +static rb_control_frame_t *vm_get_ruby_level_caller_cfp(rb_thread_t *th, rb_control_frame_t *cfp); + static inline rb_control_frame_t * vm_push_frame(rb_thread_t * th, const rb_iseq_t * iseq, VALUE type, VALUE self, VALUE specval, -- cgit v1.2.3