summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-08 22:48:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-08 22:48:38 +0000
commit1165304a5dc5c4a2b8fce26f09e9bbeb8f0b43fc (patch)
tree01b7a6ce3456e8b1b65515e52cfa373ec4f5f920 /cont.c
parent2acb400eb1fdda72608a0d9fa59382666af84026 (diff)
* 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
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c2
1 files changed, 1 insertions, 1 deletions
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]);
}
}