[project @ 2000-02-04 11:15:04 by simonmar]
authorsimonmar <unknown>
Fri, 4 Feb 2000 11:15:04 +0000 (11:15 +0000)
committersimonmar <unknown>
Fri, 4 Feb 2000 11:15:04 +0000 (11:15 +0000)
commitfcc9fa26d8b6f34a646aeb570fb93fc67c49b7ab
treebce71c739fdd6317f3930b6ebde2f21401a329c5
parent1aa0765b34932e36e85625fe6fa1b21255139ffb
[project @ 2000-02-04 11:15:04 by simonmar]
Fix bug #1 in the unregisterised RTS:

Now that catch# is a fully-fledged IO operation, it has to respect the
return convention for IO, in particular if we don't have an R1
(eg. when unregisterised) then the return value goes on the stack.

The return convention could be better, after all we use R1 when
returning normal values, but I'll just fix it for now.
ghc/rts/Exception.hc