diff --git a/ChangeLog b/ChangeLog index 8cebaf799d..643291e67b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri May 9 07:47:07 2008 Yukihiro Matsumoto + + * cont.c (cont_restore_0): dynamic stack direction code should be + consistent with static one. [ruby-talk:301152] + Fri May 9 00:03:50 2008 Yukihiro Matsumoto * parse.y (arg): operator assignment "a += b rescue c" should be diff --git a/cont.c b/cont.c index 02264f8395..57b95feb9f 100644 --- a/cont.c +++ b/cont.c @@ -323,7 +323,7 @@ cont_restore_0(rb_context_t *cont, VALUE *addr_in_prev_frame) #else if (addr_in_prev_frame > &space[0]) { /* Stack grows downward */ - if (addr_in_prev_frame > cont->saved_thread.machine_stack_size) { + if (addr_in_prev_frame > cont->machine_stack_src) { cont_restore_0(cont, &space[0]); } }