projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f74aec1
)
[project @ 2005-04-27 14:09:43 by simonmar]
author
simonmar
<unknown>
Wed, 27 Apr 2005 14:09:43 +0000
(14:09 +0000)
committer
simonmar
<unknown>
Wed, 27 Apr 2005 14:09:43 +0000
(14:09 +0000)
fprintf(stderr,..) --> debugBelch(...)
ghc/utils/genapply/GenApply.hs
patch
|
blob
|
history
diff --git
a/ghc/utils/genapply/GenApply.hs
b/ghc/utils/genapply/GenApply.hs
index
9fd2a55
..
956ef42
100644
(file)
--- a/
ghc/utils/genapply/GenApply.hs
+++ b/
ghc/utils/genapply/GenApply.hs
@@
-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)