Skip to content
Snippets Groups Projects
Commit 98f86b1c authored by Julian Seward's avatar Julian Seward
Browse files

[project @ 2000-01-19 16:47:16 by sewardj]

amodeToStix: correctly compute offset for CHARLIKE_closure-s.
parent 623a7c05
No related merge requests found
......@@ -352,7 +352,7 @@ amodeToStix (CCharLike (CLit (MachChar c)))
amodeToStix (CCharLike x)
= StIndex PtrRep charLike off
where
off = StPrim IntMulOp [amodeToStix x, StInt (toInteger (fixedHdrSize+1))]
off = StPrim IntMulOp [amodeToStix x, StInt (toInteger charLikeSize)]
amodeToStix (CIntLike (CLit (MachInt i _)))
= StLitLbl ((<>) (ptext SLIT("INTLIKE_closure+")) (int off))
......
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