summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authorJames Clarke <jrtc27@jrtc27.com>2019-04-26 23:32:46 +0100
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-04-27 12:35:41 +0900
commitecf660e438320f501ce4e05e92a5d6c79fe4d54d (patch)
tree70019d2b0f0e9ee1c70d93285202dd66f6694ab4 /cont.c
parent5f6ba669ff79819e0e2cf006ed22f960d4565543 (diff)
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
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index 5831a77657..516a847b9e 100644
--- a/cont.c
+++ b/cont.c
@@ -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
}