Fix a crash in STM when unregisterised
authorSimon Marlow <marlowsd@gmail.com>
Fri, 6 Jan 2012 10:42:35 +0000 (10:42 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 6 Jan 2012 11:31:34 +0000 (11:31 +0000)
commitfe2433a2a35e5b520a5e63d6cc437efc3c2b97cf
tree984f8ac725c9d37be2e628bfb7d7eea7f7c78ae4
parent9186d92f381c49720da96b8fc59339af7be951bd
Fix a crash in STM when unregisterised

Fixes several test failures:
   ../../libraries/stm/tests       2411 [bad exit code] (normal,hpc,profasm,ghci,optllvm)
   ../../libraries/stm/tests       stm046 [bad exit code] (normal,hpc,profasm,ghci,optllvm)
   ../../libraries/stm/tests       stm061 [bad exit code] (normal,hpc,profasm,ghci,optllvm)
rts/PrimOps.cmm