]> granicus.if.org Git - gc/commit
Fix GC_clear_stack_inner by using GC_approx_sp
authorIvan Maidanski <ivmai@mail.ru>
Wed, 1 Aug 2012 22:02:08 +0000 (02:02 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 1 Aug 2012 22:02:08 +0000 (02:02 +0400)
commitf1f2d378a04ac3f1be330ea6df6e553295657e22
treee71b995b396add1c14af0f109e3d0dc61762c780
parent57b94a38df8026868010ec2ea0f47cd1f94f0c60
Fix GC_clear_stack_inner by using GC_approx_sp

* misc.c (GC_clear_stack_inner): Use GC_approx_sp() instead of
"dummy[0]" set to "&dummy" value (that worked as expected only for
STACK_GROWS_DOWN case).
misc.c