Fix #2838: we should narrow a CmmInt before converting to ImmInteger
authorSimon Marlow <marlowsd@gmail.com>
Tue, 9 Dec 2008 10:55:15 +0000 (10:55 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 9 Dec 2008 10:55:15 +0000 (10:55 +0000)
commit7fbdd9e0bccec89c958e2a1e36d5ec058fc69a3d
treebd64e07efff98b201a7400cb7a76b9c16501b2b8
parenta3ea8b447cb55279a5767ebe04d861da3b761924
Fix #2838: we should narrow a CmmInt before converting to ImmInteger
compiler/cmm/CmmExpr.hs
compiler/cmm/CmmOpt.hs
compiler/nativeGen/MachRegs.lhs