Andreas Klebinger pushed to branch wip/andreask/bomb_out at Glasgow Haskell Compiler / GHC Commits: b90a137c by Andreas Klebinger at 2025-09-24T20:02:56+02:00 blub - - - - - 1 changed file: - compiler/GHC/Core/Unfold.hs Changes: ===================================== compiler/GHC/Core/Unfold.hs ===================================== @@ -573,6 +573,9 @@ sizeExpr opts !bOMB_OUT_SIZE top_args expr = size_up sizeZero expr where size_up :: ExprSize -> CoreExpr -> ExprSize + size_up (TooBig) !_ = TooBig + size_up (SizeIs !s _ _) _ + | s > bOMB_OUT_SIZE = TooBig size_up s (Cast e _) = size_up s e size_up s (Tick _ e) = size_up s e size_up s (Type _) = s -- Types cost nothing View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b90a137c0b7b5db8baffcb5546d13545... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b90a137c0b7b5db8baffcb5546d13545... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Andreas Klebinger (@AndreasK)