[project @ 2005-04-27 14:09:43 by simonmar]
authorsimonmar <unknown>
Wed, 27 Apr 2005 14:09:43 +0000 (14:09 +0000)
committersimonmar <unknown>
Wed, 27 Apr 2005 14:09:43 +0000 (14:09 +0000)
fprintf(stderr,..) --> debugBelch(...)

ghc/utils/genapply/GenApply.hs

index 9fd2a55..956ef42 100644 (file)
@@ -304,7 +304,7 @@ genApply regstatus args =
 --        print "  };"
     
        text "",
-       text "IF_DEBUG(apply,foreign \"C\" fprintf(stderr, \"" <> fun_ret_label <> 
+       text "IF_DEBUG(apply,foreign \"C\" debugBelch(\"" <> fun_ret_label <> 
          text "... \"); foreign \"C\" printClosure(R1 \"ptr\"));",
 
        text "IF_DEBUG(sanity,foreign \"C\" checkStackFrame(Sp+WDS(" <> int (1 + all_args_size)