From 01f24ae4c240f17e834cbbc4d5be9d28391fbd7f Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 12 Jul 2007 04:25:46 +0000 Subject: * blockinlining.c: remove "yarv" prefix. * array.c, numeric.c: ditto. * insnhelper.ci, insns.def, vm_evalbody.ci: ditto. * yarvcore.c: removed. * yarvcore.h: renamed to core.h. * cont.c, debug.c, error.c, process.c, signal.c : ditto. * ext/probeprofiler/probeprofiler.c: ditto. * id.c, id.h: added. * inits.c: ditto. * compile.c: rename internal functions. * compile.h: fix debug flag. * eval.c, object.c, vm.c: remove ruby_top_self. use rb_vm_top_self() instead. * eval_intern.h, eval_load: ditto. * gc.c: rename yarv_machine_stack_mark() to rb_gc_mark_machine_stack(). * insnhelper.h: remove unused macros. * iseq.c: add iseq_compile() to create iseq object from source string. * proc.c: rename a internal function. * template/insns.inc.tmpl: remove YARV prefix. * thread.c: * vm.c (rb_iseq_eval): added. * vm.c: move some functions from yarvcore.c. * vm_dump.c: fix to remove compiler warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- error.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'error.c') diff --git a/error.c b/error.c index 4bdc028bd..f12c89041 100644 --- a/error.c +++ b/error.c @@ -12,7 +12,7 @@ #include "ruby/ruby.h" #include "ruby/st.h" -#include "yarvcore.h" +#include "vm_core.h" #include #include @@ -197,7 +197,7 @@ rb_warn_m(VALUE self, VALUE mesg) return Qnil; } -void yarv_bug(void); +void rb_vm_bugreport(void); static void report_bug(const char *file, int line, const char *fmt, va_list args) @@ -208,7 +208,7 @@ report_bug(const char *file, int line, const char *fmt, va_list args) if (fwrite(buf, 1, len, out) == len || fwrite(buf, 1, len, (out = stdout)) == len) { - yarv_bug(); + rb_vm_bugreport(); fputs("[BUG] ", out); vfprintf(out, fmt, args); fprintf(out, "\nruby %s (%s) [%s]\n\n", -- cgit