[Git][ghc/ghc][wip/T23923-mikolaj-take-2] Try inlining checkTyCoVarInScope

Mikolaj Konarski (@Mikolaj) gitlab at gitlab.haskell.org
Tue Mar 5 18:47:17 UTC 2024



Mikolaj Konarski pushed to branch wip/T23923-mikolaj-take-2 at Glasgow Haskell Compiler / GHC


Commits:
26b42422 by Mikolaj Konarski at 2024-03-05T19:47:05+01:00
Try inlining checkTyCoVarInScope

- - - - -


1 changed file:

- compiler/GHC/Core/Lint.hs


Changes:

=====================================
compiler/GHC/Core/Lint.hs
=====================================
@@ -1933,6 +1933,7 @@ checkTyCon tc
 
 -------------------
 checkTyCoVarInScope :: Subst -> TyCoVar -> LintM ()
+{-# INLINE checkTyCoVarInScope #-}
 checkTyCoVarInScope subst tcv
   = checkL (tcv `isInScope` subst) $
     hang (text "The type or coercion variable" <+> pprBndr LetBind tcv)



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/26b4242298fcf60ecee17b36617436b30df916b1
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/20240305/228ffd81/attachment-0001.html>


More information about the ghc-commits mailing list