diff options
-rw-r--r-- | cont.c | 6 | ||||
-rw-r--r-- | thread.c | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -475,7 +475,7 @@ cont_save_machine_stack(rb_thread_t *th, rb_context_t *cont) SET_MACHINE_STACK_END(&th->ec->machine.stack_end); #ifdef __ia64 - th->machine.register_stack_end = rb_ia64_bsp(); + th->ec->machine.register_stack_end = rb_ia64_bsp(); #endif if (th->ec->machine.stack_start > th->ec->machine.stack_end) { @@ -499,8 +499,8 @@ cont_save_machine_stack(rb_thread_t *th, rb_context_t *cont) #ifdef __ia64 rb_ia64_flushrs(); - size = cont->machine.register_stack_size = th->machine.register_stack_end - th->machine.register_stack_start; - cont->machine.register_stack_src = th->machine.register_stack_start; + size = cont->machine.register_stack_size = th->ec->machine.register_stack_end - th->ec->machine.register_stack_start; + cont->machine.register_stack_src = th->ec->machine.register_stack_start; if (cont->machine.register_stack) { REALLOC_N(cont->machine.register_stack, VALUE, size); } @@ -133,7 +133,7 @@ static inline void blocking_region_end(rb_thread_t *th, struct rb_blocking_regio #ifdef __ia64 #define RB_GC_SAVE_MACHINE_REGISTER_STACK(th) \ - do{(th)->machine.register_stack_end = rb_ia64_bsp();}while(0) + do{(th)->ec->machine.register_stack_end = rb_ia64_bsp();}while(0) #else #define RB_GC_SAVE_MACHINE_REGISTER_STACK(th) #endif |