* cont.c (cont_restore_0): dynamic stack direction code should be

consistent with static one.  [ruby-talk:301152]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-05-08 22:48:38 +00:00
parent 2acb400eb1
commit 1165304a5d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri May 9 07:47:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* 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 <matz@ruby-lang.org>
* parse.y (arg): operator assignment "a += b rescue c" should be

2
cont.c
View File

@ -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]);
}
}