Illegal instruction in GHC 6.5 generated code.
Caio Marcelo
cmarcelo at gmail.com
Fri Jun 23 12:42:51 EDT 2006
On 6/23/06, Simon Marlow <simonmarhaskell at gmail.com> wrote:
> What did I do wrong?
Did you changed the Judy/Map.hs code to not use Dummy (see below)? The
code I commited is the version with the workaround.
Anyway, I'm going to darcs pull and recompile GHC to check if the
behaviour changes.
-----------8<------------
Index: Judy/Map.hs
===================================================================
--- Judy/Map.hs (revisão 10752)
+++ Judy/Map.hs (cópia de trabalho)
@@ -56,7 +56,8 @@
class Dummy a
instance Dummy a
-instance Dummy a => Refeable a where
+--instance Dummy a => Refeable a where
+instance Refeable a where
toRef a = do
a' <- newStablePtr a
return (ptrToWordPtr (castStablePtrToPtr a'))
---------->8-------------
--
Caio Marcelo
More information about the Glasgow-haskell-users
mailing list