summaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-05 03:35:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-05 03:35:48 +0000
commit09fec9e0fcdf3c54492e79f2b16f6fec4d2551c1 (patch)
tree79ad0b7c68b118dd0dce9e03defd8ea3ca0b9bc1 /vm.c
parent06be1f30b887037d69c83016eddeaecc770fc195 (diff)
downloadruby-09fec9e0fcdf3c54492e79f2b16f6fec4d2551c1.tar.gz
ruby-09fec9e0fcdf3c54492e79f2b16f6fec4d2551c1.tar.xz
ruby-09fec9e0fcdf3c54492e79f2b16f6fec4d2551c1.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@20535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index 2bb050d19..9fabe2dad 100644
--- a/vm.c
+++ b/vm.c
@@ -1737,7 +1737,6 @@ m_core_set_postexe(VALUE self, VALUE iseqval)
return Qnil;
}
-VALUE insns_name_array(void);
extern VALUE *rb_gc_stack_start;
extern size_t rb_gc_stack_maxsize;
#ifdef __ia64
@@ -1845,7 +1844,7 @@ Init_VM(void)
#endif
/* ::VM::InsnNameArray */
- rb_define_const(rb_cRubyVM, "INSTRUCTION_NAMES", insns_name_array());
+ rb_define_const(rb_cRubyVM, "INSTRUCTION_NAMES", ruby_insns_name_array());
/* debug functions ::VM::SDR(), ::VM::NSDR() */
#if VMDEBUG