X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FStgStartup.cmm;h=16e5c628014cdbb8b4e320b0d39c67f3544dd900;hb=0c12697ef809ab47dd10b6e292fe42140af72c3f;hp=5b0f7e2a5f12458e1801a83a9db72d8feada70af;hpb=d31dfb32ea936c22628b508c28a36c12e631430a;p=ghc-hetmet.git diff --git a/rts/StgStartup.cmm b/rts/StgStartup.cmm index 5b0f7e2..16e5c62 100644 --- a/rts/StgStartup.cmm +++ b/rts/StgStartup.cmm @@ -142,22 +142,15 @@ stg_threadFinished forceIO takes care of this, performing the IO action and entering the results that comes back. + ------------------------------------------------------------------------- */ INFO_TABLE_RET( stg_forceIO, RET_SMALL) -#ifdef REG_R1 { Sp_adj(1); ENTER(); } -#else -{ - R1 = Sp(0); - Sp_adj(2); - ENTER(); -} -#endif /* ----------------------------------------------------------------------------- Non-strict IO application. @@ -170,18 +163,10 @@ INFO_TABLE_RET( stg_forceIO, RET_SMALL) INFO_TABLE_RET( stg_noforceIO, RET_SMALL ) -#ifdef REG_R1 { Sp_adj(1); jump %ENTRY_CODE(Sp(0)); } -#else -{ - R1 = Sp(0); - Sp_adj(2); - jump %ENTRY_CODE(Sp(0)); -} -#endif /* ----------------------------------------------------------------------------- Special STG entry points for module registration.