X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FStgCRun.c;h=be5843069f7d725e56df39f27a922999bac2a97e;hb=9d9784263ae1cb1d2add4b714ca676ca4b6cc22c;hp=129cd23c520922c1d4ffad736db7d308a0e8b785;hpb=09ce0083f1d378b21e0fbb97931267d8ff2dfc52;p=ghc-hetmet.git diff --git a/ghc/rts/StgCRun.c b/ghc/rts/StgCRun.c index 129cd23..be58430 100644 --- a/ghc/rts/StgCRun.c +++ b/ghc/rts/StgCRun.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: StgCRun.c,v 1.22 2000/11/13 14:53:27 simonmar Exp $ + * $Id: StgCRun.c,v 1.23 2000/12/04 12:31:21 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -322,7 +322,11 @@ StgRun(StgFunPtr f, StgRegTable *basereg) { StgThreadReturnCode StgRun(StgFunPtr f, StgRegTable *basereg) { - StgChar space[RESERVED_C_STACK_BYTES]; + unsigned char space[RESERVED_C_STACK_BYTES]; +#if 0 + register void *i7 __asm__("%i7"); + ((void **)(space))[100] = i7; +#endif f(); __asm__ volatile ( ".align 4\n"