[Git][ghc/ghc][wip/spj-unf-size] Stupid typo

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Mon Oct 30 12:33:01 UTC 2023



Simon Peyton Jones pushed to branch wip/spj-unf-size at Glasgow Haskell Compiler / GHC


Commits:
2000ee1a by Simon Peyton Jones at 2023-10-30T12:30:58+00:00
Stupid typo

- - - - -


1 changed file:

- compiler/GHC/Core/Unfold.hs


Changes:

=====================================
compiler/GHC/Core/Unfold.hs
=====================================
@@ -770,7 +770,7 @@ classOpSize opts vs fn val_args voids
            -- If the class op is scrutinising a lambda bound dictionary then
            -- give it a discount, to encourage the inlining of this function
            -- The actual discount is rather arbitrarily chosen
-n  | otherwise
+  | otherwise
   = exprTreeN (vanillaCallSize (length val_args) voids)
 
 funSize :: UnfoldingOpts -> ETVars -> Id -> Int -> Int -> ExprTree



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2000ee1a9c0758751f2dde90dbae44aa26b3beb7
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/20231030/844c6389/attachment.html>


More information about the ghc-commits mailing list