diff options
author | Ben Gamari <ben@smart-cactus.org> | 2016-06-17 22:57:38 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-06-18 11:45:10 +0200 |
commit | 2396d9bb76c11775589fc91b362a61c4a92d27fa (patch) | |
tree | 8974307980358a9aadace3f9e60a5c1a25a4a832 /compiler/llvmGen/Llvm.hs | |
parent | 3e8c495f2e6557c85c65c7fc91113f45b010d333 (diff) | |
download | haskell-2396d9bb76c11775589fc91b362a61c4a92d27fa.tar.gz |
llvmGen: Make metadata ids a newtype
These were previously just represented as Ints which was needlessly
vague.
Diffstat (limited to 'compiler/llvmGen/Llvm.hs')
-rw-r--r-- | compiler/llvmGen/Llvm.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/llvmGen/Llvm.hs b/compiler/llvmGen/Llvm.hs index b245422dbc..8104a3a61e 100644 --- a/compiler/llvmGen/Llvm.hs +++ b/compiler/llvmGen/Llvm.hs @@ -42,7 +42,7 @@ module Llvm ( i64, i32, i16, i8, i1, i8Ptr, llvmWord, llvmWordPtr, -- ** Metadata types - MetaExpr(..), MetaAnnot(..), MetaDecl(..), + MetaExpr(..), MetaAnnot(..), MetaDecl(..), MetaId(..), -- ** Operations on the type system. isGlobal, getLitType, getVarType, |