summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-25 02:44:20 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-25 02:44:20 +0000
commitd54fdc98c26e945dc26bfef9d379682fd6488329 (patch)
treee45cc5127c0734b78ea979be8a572f9123dca8e1 /gc.c
parent670d3d858866753eda380bf3b81dfcb4e8cad685 (diff)
downloadruby-d54fdc98c26e945dc26bfef9d379682fd6488329.tar.gz
ruby-d54fdc98c26e945dc26bfef9d379682fd6488329.tar.xz
ruby-d54fdc98c26e945dc26bfef9d379682fd6488329.zip
* gc.h: add RUBY_ prefix to debug macros.
* cont.c, proc.c, yarvcore.c, * gc.c: define ruby_gc_debug_indent variable to debug mark/free. * vm.c, insnhelper.ci: rename some functions to vm_* or rb_vm_*. move some functions, definitions, declarations to suitable files. * eval.c, yarvcore.h, eval_error.ci, insnhelper.ci: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 60124b7a0..83e04b2a5 100644
--- a/gc.c
+++ b/gc.c
@@ -84,6 +84,8 @@ static VALUE mark_stack[MARK_STACK_MAX];
static VALUE *mark_stack_ptr;
static int mark_stack_overflow;
+int ruby_gc_debug_indent = 0;
+
#undef GC_DEBUG
#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__CYGWIN__)