projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
46e7ae6
)
LLVM: Fix test '2047' under linux-x64
author
David Terei
<davidterei@gmail.com>
Mon, 28 Jun 2010 16:52:56 +0000
(16:52 +0000)
committer
David Terei
<davidterei@gmail.com>
Mon, 28 Jun 2010 16:52:56 +0000
(16:52 +0000)
compiler/llvmGen/LlvmCodeGen/Base.hs
patch
|
blob
|
history
diff --git
a/compiler/llvmGen/LlvmCodeGen/Base.hs
b/compiler/llvmGen/LlvmCodeGen/Base.hs
index
ba74a7f
..
e44d7c9
100644
(file)
--- a/
compiler/llvmGen/LlvmCodeGen/Base.hs
+++ b/
compiler/llvmGen/LlvmCodeGen/Base.hs
@@
-25,14
+25,14
@@
module LlvmCodeGen.Base (
import Llvm
import LlvmCodeGen.Regs
import Llvm
import LlvmCodeGen.Regs
-import CgUtils ( activeStgRegs )
import CLabel
import CLabel
+import CgUtils ( activeStgRegs )
import Cmm
import Cmm
-
+import Constants
import FastString
import qualified Outputable as Outp
import FastString
import qualified Outputable as Outp
-import Unique
import UniqFM
import UniqFM
+import Unique
-- ----------------------------------------------------------------------------
-- * Some Data Types
-- ----------------------------------------------------------------------------
-- * Some Data Types
@@
-105,11
+105,11
@@
mkLlvmFunc lbl link sec blks
-- | Alignment to use for functions
llvmFunAlign :: LMAlign
-- | Alignment to use for functions
llvmFunAlign :: LMAlign
-llvmFunAlign = Just 4
+llvmFunAlign = Just wORD_SIZE
-- | Alignment to use for into tables
llvmInfAlign :: LMAlign
-- | Alignment to use for into tables
llvmInfAlign :: LMAlign
-llvmInfAlign = Just 4
+llvmInfAlign = Just wORD_SIZE
-- | A Function's arguments
llvmFunArgs :: [LlvmVar]
-- | A Function's arguments
llvmFunArgs :: [LlvmVar]