[Git][ghc/ghc][wip/T17944] rts: Don't mark evacuate_large as inline

Ben Gamari gitlab at gitlab.haskell.org
Mon Mar 23 16:38:21 UTC 2020



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


Commits:
2c39d765 by Ben Gamari at 2020-03-23T12:37:46-04:00
rts: Don't mark evacuate_large as inline

This function has two callsites and is quite large. GCC consequently
decides not to inline and warns instead. Given the situation, I can't
blame it. Let's just remove the inline specifier.

- - - - -


1 changed file:

- rts/sm/Evac.c


Changes:

=====================================
rts/sm/Evac.c
=====================================
@@ -298,7 +298,7 @@ copy(StgClosure **p, const StgInfoTable *info,
    that has been evacuated, or unset otherwise.
    -------------------------------------------------------------------------- */
 
-STATIC_INLINE void
+static void
 evacuate_large(StgPtr p)
 {
   bdescr *bd;



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2c39d7659dd36633a460503dc6c3984cac0a4028
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/20200323/b198a23f/attachment.html>


More information about the ghc-commits mailing list