FIX #1679: crash on returning from a foreign call
authorSimon Marlow <simonmar@microsoft.com>
Thu, 15 Nov 2007 13:16:35 +0000 (13:16 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 15 Nov 2007 13:16:35 +0000 (13:16 +0000)
commit91b2014b569ce6b367355040004804a133a45b91
tree17c243fe609fc0381473de4487d7aa592d4745e5
parentf4629357f3eb3714955fc3f8ac81440123e7caf4
FIX #1679: crash on returning from a foreign call
We forgot to save a pointer to the BCO over the foreign call.  Doing
enough allocation and GC during the call could provoke a crash.
rts/Interpreter.c