summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CgParallel.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2012-01-05 19:41:36 +0100
committerSimon Marlow <marlowsd@gmail.com>2012-01-06 11:31:34 +0000
commit5309bd04972ec070c1acb2e73e1c9696a17d0cae (patch)
tree8078cad7a0ae39a840ad9fea58c94ad8a2e675bf /compiler/codeGen/CgParallel.hs
parent48a5a53478da1b248544c66e373e8299c305aea8 (diff)
downloadhaskell-5309bd04972ec070c1acb2e73e1c9696a17d0cae.tar.gz
abstract away from the 'build-toolchain'-dependent sizeof(...) operator
The sizes obtained this way do not work on a target system in general. So in a future cross-compilable setup we need another way of obtaining expansions for the macros OFFSET, FIELD_SIZE and TYPE_SIZE. Guarded against accidental use of 'sizeof' by poisoning. Verified that the generated *Constants.h/hs files are unchanged.
Diffstat (limited to 'compiler/codeGen/CgParallel.hs')
0 files changed, 0 insertions, 0 deletions