Skip to content
Snippets Groups Projects
Commit ea61a2f0 authored by Marcin 'Qrczak' Kowalczyk's avatar Marcin 'Qrczak' Kowalczyk
Browse files

[project @ 2000-09-01 18:28:41 by qrczak]

ForeignObjs were incorrectly passed to foreign functions by the NCG.
Fixed.
parent 16d1e5ac
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment