projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code simplifications due to call/return separation; some improvements to how node...
[ghc-hetmet.git]
/
compiler
/
codeGen
/
StgCmmForeign.hs
diff --git
a/compiler/codeGen/StgCmmForeign.hs
b/compiler/codeGen/StgCmmForeign.hs
index
64d0203
..
af00c79
100644
(file)
--- a/
compiler/codeGen/StgCmmForeign.hs
+++ b/
compiler/codeGen/StgCmmForeign.hs
@@
-58,7
+58,8
@@
cgForeignCall results result_hints (CCall (CCallSpec target cconv safety)) stg_a
= case target of
StaticTarget lbl ->
(unzip cmm_args,
= case target of
StaticTarget lbl ->
(unzip cmm_args,
- CmmLit (CmmLabel (mkForeignLabel lbl (call_size cmm_args) False IsFunction)))
+ CmmLit (CmmLabel (mkForeignLabel lbl (call_size cmm_args)
+ False IsFunction)))
DynamicTarget -> case cmm_args of
(fn,_):rest -> (unzip rest, fn)
[] -> panic "cgForeignCall []"
DynamicTarget -> case cmm_args of
(fn,_):rest -> (unzip rest, fn)
[] -> panic "cgForeignCall []"