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:
e28dc9b
)
Fix calling maths functions when compiling via C
author
Ian Lynagh
<igloo@earth.li>
Fri, 6 Feb 2009 22:31:19 +0000
(22:31 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 6 Feb 2009 22:31:19 +0000
(22:31 +0000)
compiler/cmm/PprC.hs
patch
|
blob
|
history
diff --git
a/compiler/cmm/PprC.hs
b/compiler/cmm/PprC.hs
index
04aa9e9
..
3ee3738
100644
(file)
--- a/
compiler/cmm/PprC.hs
+++ b/
compiler/cmm/PprC.hs
@@
-253,7
+253,8
@@
pprStmt stmt = case stmt of
)
in (fun_proto lbl, myCall)
_ ->
- (empty {- no proto -}, cast_fn)
+ (empty {- no proto -},
+ pprCall cast_fn cconv results args safety <> semi)
-- for a dynamic call, no declaration is necessary.
CmmCall (CmmPrim op) results args safety _ret ->