]> granicus.if.org Git - gc/commit
Always fail if FindTopOfStack(0) is not implemented but called (Darwin)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 2 Feb 2018 08:32:10 +0000 (11:32 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 2 Feb 2018 08:32:20 +0000 (11:32 +0300)
commit7e5abd8b79b351ed5b8218fb60860d05760feec1
treeaef2b9abc74068d2ef40eecfd38aa5c3710cad94
parente61b2dd45d6fc6be5b37b993bb032e4fd0835e78
Always fail if FindTopOfStack(0) is not implemented but called (Darwin)

* darwin_stop_world.c [!DARWIN_DONT_PARSE_STACK] (GC_FindTopOfStack):
Initialize frame local variable first (to stack_start).
* darwin_stop_world.c [!DARWIN_DONT_PARSE_STACK && !POWERPC]
(GC_FindTopOfStack): Call ABORT with the appropriate message (instead
of GC_ASSERT) if stack_start iz zero.
darwin_stop_world.c