projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support of TNTC to llvm backend
[ghc-hetmet.git]
/
compiler
/
llvmGen
/
Llvm
/
AbsSyn.hs
diff --git
a/compiler/llvmGen/Llvm/AbsSyn.hs
b/compiler/llvmGen/Llvm/AbsSyn.hs
index
1b8527b
..
9c255ab
100644
(file)
--- a/
compiler/llvmGen/Llvm/AbsSyn.hs
+++ b/
compiler/llvmGen/Llvm/AbsSyn.hs
@@
-44,13
+44,16
@@
data LlvmModule = LlvmModule {
-- | An LLVM Function
data LlvmFunction = LlvmFunction {
-- | The signature of this declared function.
-- | An LLVM Function
data LlvmFunction = LlvmFunction {
-- | The signature of this declared function.
- funcDecl :: LlvmFunctionDecl,
+ funcDecl :: LlvmFunctionDecl,
-- | The function attributes.
-- | The function attributes.
- funcAttrs :: [LlvmFuncAttr],
+ funcAttrs :: [LlvmFuncAttr],
+
+ -- | The section to put the function into,
+ funcSect :: LMSection,
-- | The body of the functions.
-- | The body of the functions.
- funcBody :: LlvmBlocks
+ funcBody :: LlvmBlocks
}
type LlvmFunctions = [LlvmFunction]
}
type LlvmFunctions = [LlvmFunction]