diff options
author | Samuel Williams <[email protected]> | 2019-06-19 21:06:57 +1200 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2019-06-19 23:30:04 +1200 |
commit | d17344cfc56edc4599252041b3ec0d46af0851fd (patch) | |
tree | 5f454cf938013797138b68579d51af03c97afbcb /gc.c | |
parent | 40f8c82b960041d29aba028cc9fe01177bdc4f84 (diff) |
Remove IA64 support.
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 25 |
1 files changed, 2 insertions, 23 deletions
@@ -4324,11 +4324,7 @@ init_mark_stack(mark_stack_t *stack) /* Marking */ -#ifdef __ia64 -#define SET_STACK_END (SET_MACHINE_STACK_END(&ec->machine.stack_end), ec->machine.register_stack_end = rb_ia64_bsp()) -#else #define SET_STACK_END SET_MACHINE_STACK_END(&ec->machine.stack_end) -#endif #define STACK_START (ec->machine.stack_start) #define STACK_END (ec->machine.stack_end) @@ -4384,12 +4380,7 @@ stack_check(rb_execution_context_t *ec, int water_mark) int ret; SET_STACK_END; ret = STACK_LENGTH > STACK_LEVEL_MAX - water_mark; -#ifdef __ia64 - if (!ret) { - ret = (VALUE*)rb_ia64_bsp() - ec->machine.register_stack_start > - ec->machine.register_stack_maxsize/sizeof(VALUE) - water_mark; - } -#endif + return ret; } #else @@ -4719,11 +4710,7 @@ mark_stack_locations(rb_objspace_t *objspace, const rb_execution_context_t *ec, { gc_mark_locations(objspace, stack_start, stack_end); -#ifdef __ia64 - gc_mark_locations(objspace, - ec->machine.register_stack_start, - ec->machine.register_stack_end); -#endif + #if defined(__mc68000__) gc_mark_locations(objspace, (VALUE*)((char*)stack_start + 2), @@ -7230,14 +7217,6 @@ garbage_collect_with_gvl(rb_objspace_t *objspace, int reason) } } -#undef Init_stack - -void -Init_stack(volatile VALUE *addr) -{ - ruby_init_stack(addr); -} - /* * call-seq: * GC.start -> nil |