summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-12 09:07:57 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-12 09:07:57 +0000
commita6dcd4ff38476c301f3385a3999fb6452bd462c7 (patch)
treec0805e6c95d6396e28e6129d88905c4dee085f4e /gc.c
parent23d67024ca56858b2fd6bfb95156f2355bc0a2b5 (diff)
downloadruby-a6dcd4ff38476c301f3385a3999fb6452bd462c7.tar.gz
ruby-a6dcd4ff38476c301f3385a3999fb6452bd462c7.tar.xz
ruby-a6dcd4ff38476c301f3385a3999fb6452bd462c7.zip
2000-05-12
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gc.c b/gc.c
index 086715a56..edb290fbc 100644
--- a/gc.c
+++ b/gc.c
@@ -52,7 +52,6 @@ static unsigned long malloc_memories = 0;
static unsigned long alloc_objects = 0;
static int malloc_called = 0;
-static int second_mem_error = 0;
static void
mem_error(mesg)
@@ -947,11 +946,7 @@ rb_gc()
setjmp(save_regs_gc_mark);
mark_locations_array((VALUE*)save_regs_gc_mark, sizeof(save_regs_gc_mark) / sizeof(VALUE *));
rb_gc_mark_locations(rb_gc_stack_start, (VALUE*)STACK_END);
-#if defined(THINK_C) || defined(__human68k__)
-#ifndef __human68k__
- mark_locations_array((VALUE*)((char*)save_regs_gc_mark+2),
- sizeof(save_regs_gc_mark) / sizeof(VALUE *));
-#endif
+#if defined(__human68k__)
rb_gc_mark_locations((VALUE*)((char*)rb_gc_stack_start + 2),
(VALUE*)((char*)STACK_END + 2));
#endif