X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Frts%2FApply.cmm;h=d194252a6ad03233745073d845f8531a2e313560;hb=1bc861a6e80c774bd9d157fc54d53470490c8d09;hp=c6279955f738d24b84f2cda8fbaf9ca6eb2f2ddd;hpb=8ffe6eb9e68b0e8508bd943d51f6575709865afd;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();