projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1999-06-24 13:04:13 by simonmar]
[ghc-hetmet.git]
/
ghc
/
compiler
/
absCSyn
/
AbsCUtils.lhs
diff --git
a/ghc/compiler/absCSyn/AbsCUtils.lhs
b/ghc/compiler/absCSyn/AbsCUtils.lhs
index
072be07
..
029c7c7
100644
(file)
--- a/
ghc/compiler/absCSyn/AbsCUtils.lhs
+++ b/
ghc/compiler/absCSyn/AbsCUtils.lhs
@@
-155,14
+155,10
@@
getAmodeRep (CTemp uniq kind) = kind
getAmodeRep (CLbl label kind) = kind
getAmodeRep (CCharLike _) = PtrRep
getAmodeRep (CIntLike _) = PtrRep
getAmodeRep (CLbl label kind) = kind
getAmodeRep (CCharLike _) = PtrRep
getAmodeRep (CIntLike _) = PtrRep
-getAmodeRep (CString _) = PtrRep
getAmodeRep (CLit lit) = literalPrimRep lit
getAmodeRep (CLitLit _ kind) = kind
getAmodeRep (CLit lit) = literalPrimRep lit
getAmodeRep (CLitLit _ kind) = kind
-getAmodeRep (CTableEntry _ _ kind) = kind
getAmodeRep (CMacroExpr kind _ _) = kind
getAmodeRep (CMacroExpr kind _ _) = kind
-#ifdef DEBUG
getAmodeRep (CJoinPoint _) = panic "getAmodeRep:CJoinPoint"
getAmodeRep (CJoinPoint _) = panic "getAmodeRep:CJoinPoint"
-#endif
\end{code}
@mixedTypeLocn@ tells whether an amode identifies an ``StgWord''
\end{code}
@mixedTypeLocn@ tells whether an amode identifies an ``StgWord''