diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-02-22 09:40:47 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2021-02-22 09:40:47 +0000 |
commit | 6fc4f4aaf7b697aa069ad4f00448c2dbec4c28ab (patch) | |
tree | 52f037f1298cf0a51fa281253e87af0bb9bfde35 | |
parent | 4196969c53c55191e644d9eb258c14c2bc8467da (diff) | |
download | haskell-wip/no-ww-literals.tar.gz |
Turn off worker-wrapper in GHC.HsToCore.Match.Literalwip/no-ww-literals
Enabling worker wrapper in this module leads to a lot of unecessary
allocation due to reboxing of DynFlags.
See #19407
-rw-r--r-- | compiler/GHC/HsToCore/Match/Literal.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/HsToCore/Match/Literal.hs b/compiler/GHC/HsToCore/Match/Literal.hs index f4021d2e29..42075c6d4e 100644 --- a/compiler/GHC/HsToCore/Match/Literal.hs +++ b/compiler/GHC/HsToCore/Match/Literal.hs @@ -5,6 +5,8 @@ {-# LANGUAGE AllowAmbiguousTypes #-} {-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-} +-- WW causes DynFlags to be reboxed (see #19407) +{-# OPTIONS_GHC -fno-worker-wrapper #-} {- (c) The University of Glasgow 2006 |