1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ia64: Don't clear register_stack_start

r59829 stopped clearing stack_start and enabled the code for
!FIBER_USE_NATIVE, but we need to do the same for register_stack_start
on ia64, otherwise we end up with NULL in cont_save_machine_stack.

Closes: https://github.com/ruby/ruby/pull/2155
This commit is contained in:
James Clarke 2019-04-26 23:32:46 +01:00 committed by Nobuyoshi Nakada
parent 5f6ba669ff
commit ecf660e438
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

1
cont.c
View file

@ -621,7 +621,6 @@ cont_save_thread(rb_context_t *cont, rb_thread_t *th)
sec->machine.stack_end = NULL;
#ifdef __ia64
sec->machine.register_stack_start = NULL;
sec->machine.register_stack_end = NULL;
#endif
}