[Git][ghc/ghc][wip/T23923-mikolaj-take-2] Try inlining checkTyCoVarInScope
Mikolaj Konarski (@Mikolaj)
gitlab at gitlab.haskell.org
Tue Mar 5 18:23:27 UTC 2024
Mikolaj Konarski pushed to branch wip/T23923-mikolaj-take-2 at Glasgow Haskell Compiler / GHC
Commits:
07de4242 by Mikolaj Konarski at 2024-03-05T19:22:42+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 rev #-}
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/07de42425ac7832b9d21f915cf7b14576a4f6748
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/07de42425ac7832b9d21f915cf7b14576a4f6748
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/8720f380/attachment.html>
More information about the ghc-commits
mailing list