summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-01-04 15:14:31 +0000
committerSimon Marlow <marlowsd@gmail.com>2012-01-05 15:20:17 +0000
commite04da8a48ea5e8823b09f536330d6c7d796a93b5 (patch)
tree9ff564233b1db71a4f01927850fd67948706ccf0 /rts
parent2d91e04b9cedac7bdb772defc7bd23a114c4dbdb (diff)
downloadhaskell-e04da8a48ea5e8823b09f536330d6c7d796a93b5.tar.gz
Fix for unregisterised compilation: we want registers when defined(USE_MINIINTERPRETER)
Needed by #5357
Diffstat (limited to 'rts')
-rw-r--r--rts/StgCRun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/StgCRun.c b/rts/StgCRun.c
index 89aa0a3290..c302efba2c 100644
--- a/rts/StgCRun.c
+++ b/rts/StgCRun.c
@@ -29,7 +29,7 @@
#include "PosixSource.h"
#include "ghcconfig.h"
-#ifdef sparc_HOST_ARCH
+#if defined(sparc_HOST_ARCH) || defined(USE_MINIINTERPRETER)
/* include Stg.h first because we want real machine regs in here: we
* have to get the value of R1 back from Stg land to C land intact.
*/