Commit 8fd6a1ef authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix calling maths functions when compiling via C

parent e28dc9b9
......@@ -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 ->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment