Declare some top level globals to be constant when appropriate
authorDavid Terei <davidterei@gmail.com>
Mon, 21 Jun 2010 17:49:54 +0000 (17:49 +0000)
committerDavid Terei <davidterei@gmail.com>
Mon, 21 Jun 2010 17:49:54 +0000 (17:49 +0000)
commit3aadff5e31bf6b665cf7ae7606c94cdab85624d2
tree2fd6f5899646e6d7ed2150fff594f6e7fefdd75b
parent09e6aba8000ccf52943ada4fb9ac76e0d93a202f
Declare some top level globals to be constant when appropriate

This involved removing the old constant handling mechanism
which was fairly hard to use. Now being constant or not is
simply a property of a global variable instead of a separate
type.
compiler/llvmGen/Llvm.hs
compiler/llvmGen/Llvm/AbsSyn.hs
compiler/llvmGen/Llvm/PpLlvm.hs
compiler/llvmGen/Llvm/Types.hs
compiler/llvmGen/LlvmCodeGen.hs
compiler/llvmGen/LlvmCodeGen/Base.hs
compiler/llvmGen/LlvmCodeGen/CodeGen.hs
compiler/llvmGen/LlvmCodeGen/Data.hs
compiler/llvmGen/LlvmCodeGen/Ppr.hs