Use ByteString to represent Cmm string literals (#16198)
authorSylvain Henry <sylvain@haskus.fr>
Thu, 17 Jan 2019 12:34:32 +0000 (13:34 +0100)
committerBen Gamari <ben@smart-cactus.org>
Thu, 31 Jan 2019 17:46:51 +0000 (12:46 -0500)
commit4fa32293c9d2658ce504b8fe6d909db2acf59983
tree6c7519fd6a320cbaf2264c2cbfdfe1eef0d70acc
parentdeab6d64eac085b2e0ec68bfb3eeeda608dfb85a
Use ByteString to represent Cmm string literals (#16198)

Also used ByteString in some other relevant places
32 files changed:
compiler/basicTypes/DataCon.hs
compiler/basicTypes/Literal.hs
compiler/basicTypes/Module.hs
compiler/cmm/Cmm.hs
compiler/cmm/CmmInfo.hs
compiler/cmm/CmmParse.y
compiler/cmm/CmmUtils.hs
compiler/cmm/PprC.hs
compiler/cmm/PprCmmDecl.hs
compiler/cmm/SMRep.hs
compiler/codeGen/StgCmm.hs
compiler/codeGen/StgCmmClosure.hs
compiler/codeGen/StgCmmUtils.hs
compiler/coreSyn/CoreOpt.hs
compiler/coreSyn/MkCore.hs
compiler/deSugar/Coverage.hs
compiler/deSugar/MatchLit.hs
compiler/hsSyn/HsUtils.hs
compiler/llvmGen/LlvmCodeGen/Data.hs
compiler/main/PackageConfig.hs
compiler/nativeGen/Dwarf/Types.hs
compiler/nativeGen/PprBase.hs
compiler/nativeGen/SPARC/Ppr.hs
compiler/prelude/TysWiredIn.hs
compiler/typecheck/TcEvTerm.hs
compiler/typecheck/TcTyDecls.hs
compiler/utils/Binary.hs
compiler/utils/BufWrite.hs
compiler/utils/FastString.hs
libraries/ghci/GHCi/InfoTable.hsc
libraries/ghci/GHCi/Message.hs
testsuite/tests/plugins/simple-plugin/Simple/Plugin.hs