summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2023-01-30 21:59:47 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-02-14 11:31:04 -0500
commitd6411d6cddb8c94c74e5834f0199370d189d31a2 (patch)
tree1e6910e1417c37c40dceb7e4b1b99bfcb01f1184 /compiler/GHC/Driver
parent759304244f15992a098a924ebd93f295971da422 (diff)
downloadhaskell-d6411d6cddb8c94c74e5834f0199370d189d31a2.tar.gz
Fix some correctness issues around tag inference when targeting the bytecode generator.
* Let binders are now always assumed untagged for bytecode. * Imported referenced are now always assumed to be untagged for bytecode. Fixes #22840
Diffstat (limited to 'compiler/GHC/Driver')
-rw-r--r--compiler/GHC/Driver/Config/Stg/Pipeline.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Config/Stg/Pipeline.hs b/compiler/GHC/Driver/Config/Stg/Pipeline.hs
index 50e7be0913..8dc689792b 100644
--- a/compiler/GHC/Driver/Config/Stg/Pipeline.hs
+++ b/compiler/GHC/Driver/Config/Stg/Pipeline.hs
@@ -22,6 +22,7 @@ initStgPipelineOpts dflags for_bytecode = StgPipelineOpts
, stgPipeline_pprOpts = initStgPprOpts dflags
, stgPipeline_phases = getStgToDo for_bytecode dflags
, stgPlatform = targetPlatform dflags
+ , stgPipeline_forBytecode = for_bytecode
}
-- | Which Stg-to-Stg passes to run. Depends on flags, ways etc.