summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-03-23 12:36:25 -0400
committerBen Gamari <ben@well-typed.com>2020-04-13 17:17:04 -0400
commitfc8e28d1e70e5ce9ca6aecddea966bd922a030c8 (patch)
treef53273f0166547836aeeb71a335cebaf2a8e8736
parente8029816fda7602a8163c4d2703ff02982a3e48c (diff)
downloadhaskell-wip/T17944.tar.gz
rts: Don't mark evacuate_large as inlinewip/T17944
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.
-rw-r--r--rts/sm/Evac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/Evac.c b/rts/sm/Evac.c
index 521fd4eef4..e9a1c5d796 100644
--- a/rts/sm/Evac.c
+++ b/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;