]> granicus.if.org Git - gc/commit
Fix 'bogus LR' detection in FindTopOfStack (Darwin)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 7 Dec 2016 08:02:59 +0000 (11:02 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 6 Feb 2017 16:57:26 +0000 (19:57 +0300)
commit9fcf315df54fdce8177219965b10f0eb811e3a9c
treec89aa1268deaf7fd24c4145f7c8315a17ab73d46
parent0f448741d874218fd49c0d9d78877fac8531a14c
Fix 'bogus LR' detection in FindTopOfStack (Darwin)
(fix commit 5742f86)

* darwin_stop_world.c [!DARWIN_DONT_PARSE_STACK] (GC_FindTopOfStack):
Use "UL" suffix (instead of "U") for 0x3 (on the right side of the
comparison) to avoid implicit unsigned int-to-long value extension
of "~" operator result.
darwin_stop_world.c