X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FApply.cmm;h=a647b3754a32ce026994a095d9ea216b9896a7bd;hb=5d8f5e005c673f6e14a7e1b61f889b176ccf4766;hp=c6279955f738d24b84f2cda8fbaf9ca6eb2f2ddd;hpb=8ffe6eb9e68b0e8508bd943d51f6575709865afd;p=ghc-hetmet.git diff --git a/ghc/rts/Apply.cmm b/ghc/rts/Apply.cmm index c627995..a647b37 100644 --- a/ghc/rts/Apply.cmm +++ b/ghc/rts/Apply.cmm @@ -41,13 +41,13 @@ INFO_TABLE_RET( stg_ap_0, // fn is in R1, no args on the stack IF_DEBUG(apply, - foreign "C" debugBelch(stg_ap_0_ret_str); - foreign "C" printClosure(R1 "ptr")); + foreign "C" debugBelch(stg_ap_0_ret_str) [R1]; + foreign "C" printClosure(R1 "ptr") [R1]); IF_DEBUG(sanity, foreign "C" checkStackChunk(Sp+WDS(1) "ptr", - CurrentTSO + OFFSET_StgTSO_stack + - WDS(StgTSO_stack_size(CurrentTSO)) "ptr")); + CurrentTSO + TSO_OFFSET_StgTSO_stack + + WDS(StgTSO_stack_size(CurrentTSO)) "ptr") [R1]); Sp_adj(1); ENTER();