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:
8c4d16b
)
[project @ 2005-04-03 21:35:02 by simonmar]
author
simonmar
<unknown>
Sun, 3 Apr 2005 21:35:02 +0000
(21:35 +0000)
committer
simonmar
<unknown>
Sun, 3 Apr 2005 21:35:02 +0000
(21:35 +0000)
#include "MachDeps.h" to get WORD_SIZE_IN_BITS (fixes profasm breakages)
ghc/compiler/nativeGen/MachCodeGen.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/MachCodeGen.hs
b/ghc/compiler/nativeGen/MachCodeGen.hs
index
c93b678
..
7837e20
100644
(file)
--- a/
ghc/compiler/nativeGen/MachCodeGen.hs
+++ b/
ghc/compiler/nativeGen/MachCodeGen.hs
@@
-15,6
+15,7
@@
module MachCodeGen ( cmmTopCodeGen, InstrBlock ) where
#include "HsVersions.h"
#include "nativeGen/NCG.h"
+#include "MachDeps.h"
-- NCG stuff:
import MachInstrs
@@
-1228,7
+1229,7
@@
getRegister (CmmLit lit)
in
return (Any rep code)
-getRegister other = panic "getRegister(x86)"
+getRegister other = pprPanic "getRegister(x86)" (ppr other)
intLoadCode :: (Operand -> Operand -> Instr) -> CmmExpr