projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2000-10-12 09:56:52 by sewardj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
nativeGen
/
StixPrim.lhs
diff --git
a/ghc/compiler/nativeGen/StixPrim.lhs
b/ghc/compiler/nativeGen/StixPrim.lhs
index
388bb86
..
1f5fde1
100644
(file)
--- a/
ghc/compiler/nativeGen/StixPrim.lhs
+++ b/
ghc/compiler/nativeGen/StixPrim.lhs
@@
-278,7
+278,7
@@
primCode lhs (CCallOp (CCall (StaticTarget fn) is_asm may_gc cconv)) rhs
case getAmodeRep x of
ArrayRep -> StIndex PtrRep base arrPtrsHS
ByteArrayRep -> StIndex IntRep base arrWordsHS
- ForeignObjRep -> StIndex PtrRep base fixedHS
+ ForeignObjRep -> StInd PtrRep (StIndex PtrRep base fixedHS)
_ -> base
ccall = case lhs of