diff options
author | David Terei <davidterei@gmail.com> | 2010-07-07 22:04:48 +0000 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2010-07-07 22:04:48 +0000 |
commit | 770f05e6d160874d607e3f2bbc57912319f2a104 (patch) | |
tree | 9487c964e673e78c544e3e3ca2631dc779797f40 /compiler/llvmGen/Llvm | |
parent | 8538e4ba68b3d34ceaa2677ed242ac45ab456ce7 (diff) | |
download | haskell-770f05e6d160874d607e3f2bbc57912319f2a104.tar.gz |
LLVM: Fix various typos in comments
Diffstat (limited to 'compiler/llvmGen/Llvm')
-rw-r--r-- | compiler/llvmGen/Llvm/AbsSyn.hs | 8 | ||||
-rw-r--r-- | compiler/llvmGen/Llvm/Types.hs | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/compiler/llvmGen/Llvm/AbsSyn.hs b/compiler/llvmGen/Llvm/AbsSyn.hs index 6b613689e5..a58ea7701f 100644 --- a/compiler/llvmGen/Llvm/AbsSyn.hs +++ b/compiler/llvmGen/Llvm/AbsSyn.hs @@ -23,12 +23,12 @@ data LlvmBlock = LlvmBlock { type LlvmBlocks = [LlvmBlock] --- | An LLVM Module. This is a top level contianer in LLVM. +-- | An LLVM Module. This is a top level container in LLVM. data LlvmModule = LlvmModule { -- | Comments to include at the start of the module. modComments :: [LMString], - -- | LLVM Alias type defenitions. + -- | LLVM Alias type definitions. modAliases :: [LlvmAlias], -- | Global variables to include in the module. @@ -128,7 +128,7 @@ data LlvmStatement {- | Raise an expression to a statement (if don't want result or want to use - Llvm unamed values. + Llvm unnamed values. -} | Expr LlvmExpression @@ -206,7 +206,7 @@ data LlvmExpression Merge variables from different basic blocks which are predecessors of this basic block in a new variable of type tp. * tp: type of the merged variable, must match the types of the - precessors variables. + predecessor variables. * precessors: A list of variables and the basic block that they originate from. -} diff --git a/compiler/llvmGen/Llvm/Types.hs b/compiler/llvmGen/Llvm/Types.hs index 0a4fff2807..e14dcce8cb 100644 --- a/compiler/llvmGen/Llvm/Types.hs +++ b/compiler/llvmGen/Llvm/Types.hs @@ -70,7 +70,7 @@ instance Show LlvmType where show (LMAlias (s,_)) = "%" ++ unpackFS s --- | An LLVM section defenition. If Nothing then let LLVM decide the section +-- | An LLVM section definition. If Nothing then let LLVM decide the section type LMSection = Maybe LMString type LMAlign = Maybe Int type LMConst = Bool -- ^ is a variable constant or not |