Fix unregisterised alpha builds
authorIan Lynagh <igloo@earth.li>
Wed, 4 Oct 2006 12:58:57 +0000 (12:58 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 4 Oct 2006 12:58:57 +0000 (12:58 +0000)
rts/StgCRun.c

index 302e910..9d80bdb 100644 (file)
@@ -50,6 +50,7 @@
  * in libc.a clobbers $s6.
  */
 #include "ghcconfig.h"
+#ifndef USE_MINIINTERPRETER
 #ifdef alpha_HOST_ARCH
 #define alpha_EXTRA_CAREFUL
 register long   fake_ra __asm__("$26");
@@ -60,6 +61,7 @@ register double fake_f8 __asm__("$f8");
 register double fake_f9 __asm__("$f9");
 #endif
 #endif
+#endif
 
 /* 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.