[project @ 2000-07-11 20:45:29 by panne]
authorpanne <unknown>
Tue, 11 Jul 2000 20:45:29 +0000 (20:45 +0000)
committerpanne <unknown>
Tue, 11 Jul 2000 20:45:29 +0000 (20:45 +0000)
Hash MachLabel, too

ghc/compiler/basicTypes/Literal.lhs

index 54af473..b3037d1 100644 (file)
@@ -340,6 +340,7 @@ hashLiteral (MachWord i)    = hashInteger i
 hashLiteral (MachWord64 i)     = hashInteger i
 hashLiteral (MachFloat r)      = hashRational r
 hashLiteral (MachDouble r)     = hashRational r
+hashLiteral (MachLabel s)       = hashFS s
 hashLiteral (MachLitLit s _)    = hashFS s
 
 hashRational :: Rational -> Int