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
/
CgCase.lhs
diff --git
a/compiler/codeGen/CgCase.lhs
b/compiler/codeGen/CgCase.lhs
index
057f58d
..
1eea96c
100644
(file)
--- a/
compiler/codeGen/CgCase.lhs
+++ b/
compiler/codeGen/CgCase.lhs
@@
-27,8
+27,8
@@
import CgInfoTbls
import ClosureInfo
import SMRep
import ClosureInfo
import SMRep
-import CmmUtils
-import Cmm
+import OldCmmUtils
+import OldCmm
import StgSyn
import StaticFlags
import StgSyn
import StaticFlags
@@
-192,7
+192,6
@@
cgCase (StgOpApp (StgFCallOp fcall _) args _)
unsafe_foreign_call
= case fcall of
CCall (CCallSpec _ _ s) -> not (playSafe s)
unsafe_foreign_call
= case fcall of
CCall (CCallSpec _ _ s) -> not (playSafe s)
- _other -> False
\end{code}
Special case: scrutinising a non-primitive variable.
\end{code}
Special case: scrutinising a non-primitive variable.