Commit b4075d9d authored by simonmar's avatar simonmar
Browse files

[project @ 2003-08-14 10:43:10 by simonmar]

Fix terrible bug in isNonPtrRep, which was ignoring the possibily of
the 64-bit reps.  The result was that functions with 2 64-bit args
were getting the wrong argument descriptor, leading to crashes.

Thanks to Peter Thiemann for a great bug report.
parent be5ed22c
......@@ -119,7 +119,7 @@ Identify anything which is one word large and not a pointer.
isNonPtrRep :: PrimRep -> Bool
isNonPtrRep PtrRep = False
isNonPtrRep VoidRep = False
isNonPtrRep r = not (isFloatingRep r)
isNonPtrRep r = not (isFloatingRep r) && not (is64BitRep r)
\end{code}
\begin{code}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment