Tidy up tso->stackobj before calling threadStackUnderflow (#7636)
authorSimon Marlow <marlowsd@gmail.com>
Thu, 7 Feb 2013 09:55:20 +0000 (09:55 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 7 Feb 2013 09:56:47 +0000 (09:56 +0000)
commit2f7044dee40ba6eadc1877ec49c30e1695d63fe4
treee9691aaf84574a0a8672c55c93cdfd08939753c0
parente705fb083cc00d9330bc13a6f011c80c6fc40c8f
Tidy up tso->stackobj before calling threadStackUnderflow (#7636)

Fixes the following crash:

  internal error: threadStackUnderflow: not enough space for return values

when using STM.
rts/Schedule.c