diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-19 05:43:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-19 05:43:20 +0000 |
commit | c7853b4344d821667a158bea0288e1861f70047f (patch) | |
tree | 96f691eaa1d8182de45b06a6ceee5bfc9da5f17b /thread_win32.c | |
parent | 53054c0ff600d00b03cda11e3788db4b9a05d317 (diff) |
* eval.c (ruby_cleanup): the order of local variables on stack is
undefined. should use outermost VALUE for ruby_init_stack.
* gc.c (ruby_get_stack_grow_direction, Init_stack): allows volatile
pointer.
* thread_*.c (ruby_init_stack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
-rw-r--r-- | thread_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_win32.c b/thread_win32.c index 684085fdb0..f404a4f312 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -417,7 +417,7 @@ native_cond_destroy(rb_thread_cond_t *cond) } void -ruby_init_stack(VALUE *addr) +ruby_init_stack(volatile VALUE *addr) { } |