summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-02 15:59:37 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-02 15:59:37 +0000
commitb57c81ae3efd33599e993500816bce18e108a2d3 (patch)
tree1b2b9ccd8ce1f6873bbea4a9bda8ef2b985cd654 /vm_dump.c
parent3657d629c151bfe063e2db62506e47060f946b56 (diff)
* 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
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vm_dump.c b/vm_dump.c
index bc7af85..185646d 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)
{