diff options
author | Luite Stegeman <stegeman@gmail.com> | 2014-11-19 17:00:49 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-11-19 17:03:06 -0600 |
commit | 4dd87c5e3ebd0569fdd19695f3e9c82102404a4f (patch) | |
tree | ba72c5a75fc1ce74cdc7f2adca2efe562785026d /MAKEHELP | |
parent | 33c029faef3b5e486def8f3a7c888dfa9f3d8cca (diff) | |
download | haskell-4dd87c5e3ebd0569fdd19695f3e9c82102404a4f.tar.gz |
use correct word size for shiftRightLogical and removeOp32
Summary:
shiftRightLogical used a host sized Word for the intermediate value,
which would produce the wrong result when cross compiling to a target
with a different word size than the host.
removeOp32 used the preprocessor to bake in word size assumptions,
rather than getting the target word size from DynFlags
Test Plan: validate
Reviewers: hvr, rwbarton, carter, austin
Reviewed By: austin
Subscribers: thomie, carter
Differential Revision: https://phabricator.haskell.org/D502
GHC Trac Issues: #9736
Diffstat (limited to 'MAKEHELP')
0 files changed, 0 insertions, 0 deletions