[Git][ghc/ghc][wip/andreask/typedUniqFM] 2 commits: SayAnnNames: Update for UniqFM change
Andreas Klebinger
gitlab at gitlab.haskell.org
Mon Jun 29 14:55:12 UTC 2020
Andreas Klebinger pushed to branch wip/andreask/typedUniqFM at Glasgow Haskell Compiler / GHC
Commits:
981a9275 by Andreas Klebinger at 2020-06-29T15:51:23+02:00
SayAnnNames: Update for UniqFM change
- - - - -
5235d8b5 by Andreas Klebinger at 2020-06-29T15:51:41+02:00
Comment spelling
- - - - -
2 changed files:
- compiler/GHC/CmmToAsm/Reg/Utils.hs
- testsuite/tests/plugins/annotation-plugin/SayAnnNames.hs
Changes:
=====================================
compiler/GHC/CmmToAsm/Reg/Utils.hs
=====================================
@@ -16,7 +16,7 @@ where
* VirtualReg is a subset of the registers in Reg's type.
Making a value of VirtualReg into a Reg in fact doesn't
- change it's unique. This is because Reg consists of virtual
+ change its unique. This is because Reg consists of virtual
regs and real regs, whose unique values do not overlap.
* Since the code was written in the assumption that keys are
=====================================
testsuite/tests/plugins/annotation-plugin/SayAnnNames.hs
=====================================
@@ -30,4 +30,4 @@ pass g = do
annotationsOn :: Data a => ModGuts -> CoreBndr -> CoreM [a]
annotationsOn guts bndr = do
(_, anns) <- getAnnotations deserializeWithData guts
- return $ lookupWithDefaultUFM anns [] (varUnique bndr)
+ return $ lookupWithDefaultUFM_Directly anns [] (varUnique bndr)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/deed00530436b00a59db00423438618067f155d9...5235d8b57c01c1c6d85b87dcfc2bdeb6898d1a5b
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/deed00530436b00a59db00423438618067f155d9...5235d8b57c01c1c6d85b87dcfc2bdeb6898d1a5b
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200629/7322abac/attachment.html>
More information about the ghc-commits
mailing list