projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small step toward call-conv improvement: separate out calls and returns
[ghc-hetmet.git]
/
compiler
/
codeGen
/
StgCmmUtils.hs
diff --git
a/compiler/codeGen/StgCmmUtils.hs
b/compiler/codeGen/StgCmmUtils.hs
index
f49c266
..
9ef5862
100644
(file)
--- a/
compiler/codeGen/StgCmmUtils.hs
+++ b/
compiler/codeGen/StgCmmUtils.hs
@@
-314,7
+314,7
@@
emitRtsCall' res fun args _vols safe
where
call updfr_off =
if safe then
where
call updfr_off =
if safe then
- mkCall fun_expr Native res' args' updfr_off
+ mkCall fun_expr NativeCall res' args' updfr_off
else
mkUnsafeCall (ForeignTarget fun_expr
(ForeignConvention CCallConv arg_hints res_hints)) res' args'
else
mkUnsafeCall (ForeignTarget fun_expr
(ForeignConvention CCallConv arg_hints res_hints)) res' args'