X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FStgStartup.cmm;h=f8940c4196d685148a5c05394fbc06836f703bb9;hp=16e5c628014cdbb8b4e320b0d39c67f3544dd900;hb=HEAD;hpb=02620e7c705ac946db43e61988ca3781af3f2447 diff --git a/rts/StgStartup.cmm b/rts/StgStartup.cmm index 16e5c62..f8940c4 100644 --- a/rts/StgStartup.cmm +++ b/rts/StgStartup.cmm @@ -28,9 +28,7 @@ ASSERT(Hp != 0); \ ASSERT(Sp != 0); \ ASSERT(SpLim != 0); \ - ASSERT(HpLim != 0); \ - ASSERT(SpLim - WDS(RESERVED_STACK_WORDS) <= Sp); \ - ASSERT(HpLim >= Hp); + ASSERT(SpLim - WDS(RESERVED_STACK_WORDS) <= Sp); /* ----------------------------------------------------------------------------- Returning from the STG world. @@ -153,22 +151,6 @@ INFO_TABLE_RET( stg_forceIO, RET_SMALL) } /* ----------------------------------------------------------------------------- - Non-strict IO application. - - This stack frame works like stg_forceIO_info except that it - doesn't evaluate the return value. We need the layer because the - return convention for an IO action differs depending on whether R1 - is a register or not. - ------------------------------------------------------------------------- */ - -INFO_TABLE_RET( stg_noforceIO, RET_SMALL ) - -{ - Sp_adj(1); - jump %ENTRY_CODE(Sp(0)); -} - -/* ----------------------------------------------------------------------------- Special STG entry points for module registration. -------------------------------------------------------------------------- */