diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-03-23 12:36:25 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-04-14 23:28:57 -0400 |
commit | 27cc2e7b1c1268e59c9d16b4530f27c0d40e9464 (patch) | |
tree | 5aaa677e967cf83cd83f200289bcece0a6bf3922 /rts | |
parent | 5b08e0c06e038448a63aa9bd7f163b23d824ba4b (diff) | |
download | haskell-27cc2e7b1c1268e59c9d16b4530f27c0d40e9464.tar.gz |
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.
Diffstat (limited to 'rts')
-rw-r--r-- | rts/sm/Evac.c | 2 |
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; |