Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
8223bac6
Commit
8223bac6
authored
Jul 11, 2000
by
panne
Browse files
[project @ 2000-07-11 20:45:29 by panne]
Hash MachLabel, too
parent
c38093b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/basicTypes/Literal.lhs
View file @
8223bac6
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment