X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FApply.cmm;fp=ghc%2Frts%2FApply.cmm;h=d194252a6ad03233745073d845f8531a2e313560;hb=1819bc7393c38e7a452b237d2355c27737fbe637;hp=c6279955f738d24b84f2cda8fbaf9ca6eb2f2ddd;hpb=9605d81c7c2fd3de0c07500a7f8a141eed89defc;p=ghc-hetmet.git diff --git a/ghc/rts/Apply.cmm b/ghc/rts/Apply.cmm index c627995..d194252 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")); + WDS(StgTSO_stack_size(CurrentTSO)) "ptr") [R1]); Sp_adj(1); ENTER();