Fix register clobber list in StgRun for ARM
authorBen Gamari <bgamari.foss@gmail.com>
Sat, 28 Jan 2012 21:55:04 +0000 (16:55 -0500)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 30 Jan 2012 11:08:43 +0000 (11:08 +0000)
commit4ff3a642fbb61cf329d468993e9f732940f9f680
tree1b2a3f57c7b5f98862ecb303b058a5989595543f
parent50c07f743330edc193ee406beb85c4bb6b5e20ee
Fix register clobber list in StgRun for ARM

The ARM implementation of StgRun does not claim that it clobbers r7-r12. As a
result, the compiler will sometimes put the returned RegTable in one of these
registers, resulting in an invalid RegTable to be returned. Hilarity ensues.

Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
rts/StgCRun.c