projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a bug with standalone deriving of Generic instances.
[ghc-hetmet.git]
/
compiler
/
codeGen
/
CgExpr.lhs
diff --git
a/compiler/codeGen/CgExpr.lhs
b/compiler/codeGen/CgExpr.lhs
index
eb1d9f0
..
1f11495
100644
(file)
--- a/
compiler/codeGen/CgExpr.lhs
+++ b/
compiler/codeGen/CgExpr.lhs
@@
-29,8
+29,8
@@
import CgPrimOp
import CgHpc
import CgUtils
import ClosureInfo
import CgHpc
import CgUtils
import ClosureInfo
-import Cmm
-import CmmUtils
+import OldCmm
+import OldCmmUtils
import VarSet
import Literal
import PrimOp
import VarSet
import Literal
import PrimOp
@@
-179,6
+179,9
@@
cgExpr (StgOpApp (StgPrimOp primop) args res_ty)
performReturn emitReturnInstr
where
result_info = getPrimOpResultInfo primop
performReturn emitReturnInstr
where
result_info = getPrimOpResultInfo primop
+
+cgExpr (StgOpApp (StgPrimCallOp primcall) args _res_ty)
+ = tailCallPrimCall primcall args
\end{code}
%********************************************************
\end{code}
%********************************************************