From b57c81ae3efd33599e993500816bce18e108a2d3 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 2 Jun 2012 15:59:37 +0000 Subject: * common.mk: fix to build vm_backtrace.c only itself (vm_backtrace.c is no longer included from vm.c). I hope this separation reduce compile time of vm.c. * internal.h: ditto. * vm.c, vm_core.h, vm_dump.c, vm_eval.c: ditto. * vm_eval.c: some functions (callee, etc) moved to vm_backtrace.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_dump.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vm_dump.c') diff --git a/vm_dump.c b/vm_dump.c index bc7af85994..185646d5aa 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -12,6 +12,7 @@ #include "ruby/ruby.h" #include "addr2line.h" #include "vm_core.h" +#include "internal.h" /* see vm_insnhelper.h for the values */ #ifndef VMDEBUG @@ -756,8 +757,6 @@ dump_thread(void *arg) } #endif -void rb_backtrace_print_as_bugreport(void); - void rb_vm_bugreport(void) { -- cgit v1.2.1