diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2022-07-08 23:18:04 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-08-06 06:13:17 -0400 |
commit | 1f6c56ae9aa4ab4977ba376ac901d5256bf0aba0 (patch) | |
tree | 475a1912e36bd8bb37ae31906b4cfcfa62341ebd /compiler/GHC/Core | |
parent | ff11d579dd1ff8f138a24f698517f3cbcff219f7 (diff) | |
download | haskell-1f6c56ae9aa4ab4977ba376ac901d5256bf0aba0.tar.gz |
StgToCmm: Fix isSimpleScrut when profiling is enabled.
When profiling is enabled we must enter functions that might represent
thunks in order for their sccs to show up in the profile.
We might allocate even if the function is already evaluated in this
case. So we can't consider any potential function thunk to be a simple
scrut when profiling.
Not doing so caused profiled binaries to segfault.
Diffstat (limited to 'compiler/GHC/Core')
0 files changed, 0 insertions, 0 deletions