summaryrefslogtreecommitdiff
path: root/compiler/llvmGen/Llvm.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-06-17 22:57:38 +0200
committerBen Gamari <ben@smart-cactus.org>2016-06-18 11:45:10 +0200
commit2396d9bb76c11775589fc91b362a61c4a92d27fa (patch)
tree8974307980358a9aadace3f9e60a5c1a25a4a832 /compiler/llvmGen/Llvm.hs
parent3e8c495f2e6557c85c65c7fc91113f45b010d333 (diff)
downloadhaskell-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.hs2
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,