[Git][ghc/ghc][wip/T23210] Update StgToByteCode.hs

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Thu May 11 12:29:03 UTC 2023



Ben Gamari pushed to branch wip/T23210 at Glasgow Haskell Compiler / GHC


Commits:
f947a665 by Ben Gamari at 2023-05-11T12:29:01+00:00
Update StgToByteCode.hs
- - - - -


1 changed file:

- compiler/GHC/StgToByteCode.hs


Changes:

=====================================
compiler/GHC/StgToByteCode.hs
=====================================
@@ -1,4 +1,3 @@
-
 {-# LANGUAGE DeriveFunctor              #-}
 {-# LANGUAGE GeneralizedNewtypeDeriving #-}
 {-# LANGUAGE RecordWildCards            #-}
@@ -1827,7 +1826,7 @@ pushAtom d p (StgVarArg var)
           Just con | isNullaryRepDataCon con -> do
             return (unitOL (PACK con 0), szb)
 
-          Nothing
+          _
             -- see Note [Generating code for top-level string literal bindings]
             | isUnliftedType (idType var) -> do
               massert (idType var `eqType` addrPrimTy)



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f947a665f0523a8195515a1a1ee47f34a61efd84
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/20230511/1b9ed590/attachment.html>


More information about the ghc-commits mailing list