MERGE: Fix a few uses of the wrong return convention for the scheduler
authorSimon Marlow <simonmar@microsoft.com>
Mon, 16 Apr 2007 14:19:02 +0000 (14:19 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 16 Apr 2007 14:19:02 +0000 (14:19 +0000)
commit94363dd5c2c443db08e5d3885b582247822c43b3
tree603a5982f5ced31663c19ee2e0e4038d7fa33b66
parent5aa70fe578ca7841d06947a3e05dac33c11a918f
MERGE: Fix a few uses of the wrong return convention for the scheduler
We changed the convention a while ago so that BaseReg is returned to
the scheduler in R1, because BaseReg may change during the run of a
thread, e.g. during a foreign call.  A few places got missed,
mostly for very rare events.

Should fix concprog001, although I'm not able to reliably reproduce
the failure.
includes/StgMiscClosures.h
rts/Exception.cmm
rts/PrimOps.cmm
rts/StgStartup.cmm