diff options
author | Ian Lynagh <igloo@earth.li> | 2011-09-17 18:29:12 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-09-17 20:42:53 +0100 |
commit | 1e87c0a6e485e1dbef8e9ed19191e54f6cdc54e0 (patch) | |
tree | cf711130a5652a39f2129631479a4000581e99f6 /compiler/ghc.mk | |
parent | 0a4537fb670ed15e9eb65b4b6e9c67398634a3f5 (diff) | |
download | haskell-1e87c0a6e485e1dbef8e9ed19191e54f6cdc54e0.tar.gz |
Improve the handling of Integer literals
LitInteger now carries around the id of mkInteger, which it uses
to construct the core to build Integer literals. This way we don't
have to build in info about lots of Ids.
We also no longer have any special-casing for integer-simple, so
there is less code involved.
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r-- | compiler/ghc.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 735d0ec183..24d14e7846 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -52,6 +52,7 @@ compiler/stage%/build/Config.hs : mk/config.mk mk/project.mk | $$(dir $$@)/. @echo '#include "ghc_boot_platform.h"' >> $@ @echo >> $@ @echo 'data IntegerLibrary = IntegerGMP | IntegerSimple' >> $@ + @echo ' deriving Eq' >> $@ @echo >> $@ @echo 'cBuildPlatformString :: String' >> $@ @echo 'cBuildPlatformString = BuildPlatform_NAME' >> $@ |