projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tag ForeignCalls with the package they correspond to
[ghc-hetmet.git]
/
compiler
/
codeGen
/
StgCmmForeign.hs
diff --git
a/compiler/codeGen/StgCmmForeign.hs
b/compiler/codeGen/StgCmmForeign.hs
index
89a2b27
..
bda9e0f
100644
(file)
--- a/
compiler/codeGen/StgCmmForeign.hs
+++ b/
compiler/codeGen/StgCmmForeign.hs
@@
-59,7
+59,7
@@
cgForeignCall results result_hints (CCall (CCallSpec target cconv safety)) stg_a
StaticTarget lbl ->
(unzip cmm_args,
CmmLit (CmmLabel (mkForeignLabel lbl (call_size cmm_args)
StaticTarget lbl ->
(unzip cmm_args,
CmmLit (CmmLabel (mkForeignLabel lbl (call_size cmm_args)
- False IsFunction)))
+ ForeignLabelInThisPackage 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 []"