MachRegs.h requires ghcautoconf.h to be included before it (#7591)
authorStephen Blackheath <docks.cattlemen.stephen@blacksapphire.com>
Wed, 16 Jan 2013 01:28:42 +0000 (14:28 +1300)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 1 Feb 2013 08:58:23 +0000 (08:58 +0000)
commit8bb9548a991142137d13a8d77fb6f46ed2f49f4d
treeab58a10d3967e9d055b0d0a2cbf40d7e405938b6
parentb0fad0c580e0dd52d73743a877608af60408ec89
MachRegs.h requires ghcautoconf.h to be included before it (#7591)

Because, in the case of ARM processors, it needs to know what ARM
variant is being used. This patch fixes that in
includes/CodeGen.Platform.hs, otherwise there is a mismatch between
the compiler and llvm.
includes/CodeGen.Platform.hs