projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
White space only
[ghc-hetmet.git]
/
compiler
/
codeGen
/
CgCallConv.hs
diff --git
a/compiler/codeGen/CgCallConv.hs
b/compiler/codeGen/CgCallConv.hs
index
b8294ea
..
f3013cd
100644
(file)
--- a/
compiler/codeGen/CgCallConv.hs
+++ b/
compiler/codeGen/CgCallConv.hs
@@
-32,13
+32,13
@@
import CgUtils
import CgMonad
import SMRep
import CgMonad
import SMRep
-import Cmm
+import OldCmm
import CLabel
import Constants
import ClosureInfo
import CgStackery
import CLabel
import Constants
import ClosureInfo
import CgStackery
-import CmmUtils
+import OldCmmUtils
import Maybes
import Id
import Name
import Maybes
import Id
import Name
@@
-150,7
+150,7
@@
mkLiveness name size bits
= let
small_bits = case bits of
[] -> 0
= let
small_bits = case bits of
[] -> 0
- [b] -> fromIntegral b
+ [b] -> b
_ -> panic "livenessToAddrMode"
in
return (smallLiveness size small_bits)
_ -> panic "livenessToAddrMode"
in
return (smallLiveness size small_bits)