[commit: ghc] master: Remove incorrect comment (8fe99c7)
git at git.haskell.org
git at git.haskell.org
Wed May 30 14:02:32 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/8fe99c746261da298c4542640cb11f234838813b/ghc
>---------------------------------------------------------------
commit 8fe99c746261da298c4542640cb11f234838813b
Author: Simon Jakobi <simon.jakobi at gmail.com>
Date: Sun May 27 01:03:58 2018 +0200
Remove incorrect comment
Moving fingerprintByteString to GHC.Fingerprint would require
adding a dependency on bytestring to base.
>---------------------------------------------------------------
8fe99c746261da298c4542640cb11f234838813b
compiler/utils/Fingerprint.hsc | 1 -
1 file changed, 1 deletion(-)
diff --git a/compiler/utils/Fingerprint.hsc b/compiler/utils/Fingerprint.hsc
index 4c89ec0..01de554 100644
--- a/compiler/utils/Fingerprint.hsc
+++ b/compiler/utils/Fingerprint.hsc
@@ -42,7 +42,6 @@ readHexFingerprint s = Fingerprint w1 w2
[(w1,"")] = readHex s1
[(w2,"")] = readHex (take 16 s2)
--- this can move to GHC.Fingerprint in GHC 8.6
fingerprintByteString :: BS.ByteString -> Fingerprint
fingerprintByteString bs = unsafeDupablePerformIO $
BS.unsafeUseAsCStringLen bs $ \(ptr, len) -> fingerprintData (castPtr ptr) len
More information about the ghc-commits
mailing list