]> 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>
Wed, 7 Dec 2016 08:02:59 +0000 (11:02 +0300)
commit2550e0778d60b8b4f595dacd0b2b4dc6f3ea9fa1
tree6234be5ea98b7e017d33bb67f9cb467599993677
parentb88b91895413255ec8e4fe46db7261c7978a6ed0
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