[Git][ghc/ghc][wip/andreask/raPlatform_fix] Replaced accidental assignment with appropriate type annotation.

Benjamin Maurer gitlab at gitlab.haskell.org
Wed Nov 25 18:04:11 UTC 2020



Benjamin Maurer pushed to branch wip/andreask/raPlatform_fix at Glasgow Haskell Compiler / GHC


Commits:
1ab4a79d by Benjamin Maurer at 2020-11-25T13:04:10-05:00
Replaced accidental assignment with appropriate type annotation.
- - - - -


1 changed file:

- compiler/GHC/CmmToAsm/Reg/Graph/Stats.hs


Changes:

=====================================
compiler/GHC/CmmToAsm/Reg/Graph/Stats.hs
=====================================
@@ -82,7 +82,8 @@ data RegAllocStats statics instr
         , raSpilled     :: [LiveCmmDecl statics instr]
 
           -- | Target platform
-        , raPlatform    = platform }
+        , raPlatform    :: !Platform
+        }
 
 
         -- a successful coloring



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1ab4a79dacb767ff893019eeea6f2965227968d2

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1ab4a79dacb767ff893019eeea6f2965227968d2
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/20201125/67e18841/attachment.html>


More information about the ghc-commits mailing list