diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-12 09:07:57 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-12 09:07:57 +0000 |
| commit | a6dcd4ff38476c301f3385a3999fb6452bd462c7 (patch) | |
| tree | c0805e6c95d6396e28e6129d88905c4dee085f4e /gc.c | |
| parent | 23d67024ca56858b2fd6bfb95156f2355bc0a2b5 (diff) | |
| download | ruby-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.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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 |
