Narrow the arg of popCnt# to the correct width
authorSimon Marlow <marlowsd@gmail.com>
Wed, 29 Aug 2012 13:50:14 +0000 (14:50 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 31 Aug 2012 15:43:59 +0000 (16:43 +0100)
commitfad7453b64fd1783e688efaa534ffdc2fe6f1324
tree8d91a4a0c326d1b8626a13133ade27e123d0ee33
parent08042a51b677b4f5c611e7fdacb8a1c18922fef7
Narrow the arg of popCnt# to the correct width

Fixes cgrun071 on recent Mac OS X versions.

This is the right fix at least until we have proper types for Word8#,
Word16# etc.
compiler/cmm/CmmMachOp.hs
compiler/codeGen/CgPrimOp.hs