Fix CallerCC potentially shadowing other cost centres.
Add a CallerCC cost centre flavour for cost centres added by the CallerCC pass. This avoids potential accidental shadowing between CCs added by user annotations and ones added by CallerCC.
parent
b2bb3e62
Branches wip/simon-perf
No related tags found
Checking pipeline status
Showing
- compiler/GHC/Core/LateCC.hs 1 addition, 1 deletioncompiler/GHC/Core/LateCC.hs
- compiler/GHC/Core/Opt/CallerCC.hs 1 addition, 1 deletioncompiler/GHC/Core/Opt/CallerCC.hs
- compiler/GHC/HsToCore/Expr.hs 1 addition, 1 deletioncompiler/GHC/HsToCore/Expr.hs
- compiler/GHC/HsToCore/Ticks.hs 1 addition, 1 deletioncompiler/GHC/HsToCore/Ticks.hs
- compiler/GHC/Tc/Gen/Bind.hs 2 additions, 2 deletionscompiler/GHC/Tc/Gen/Bind.hs
- compiler/GHC/Types/CostCentre.hs 43 additions, 34 deletionscompiler/GHC/Types/CostCentre.hs
Loading
-
mentioned in merge request !9786 (closed)
-
mentioned in commit 86698692
Please register or sign in to comment