summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Config/Stg/Pipeline.hs
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2023-01-30 21:59:47 +0100
committerAndreas Klebinger <klebinger.andreas@gmx.at>2023-02-13 13:51:47 +0100
commit75b87ef65cda23ac48a48de485c7d229100144ea (patch)
tree3bc453320a583372ba47fac381734cde45d47a4e /compiler/GHC/Driver/Config/Stg/Pipeline.hs
parent133516af8426d775fa0dc75c787edd56299ee6cf (diff)
downloadhaskell-wip/andreask/infer-bytecode.tar.gz
Fix some correctness issues around tag inference when targeting the bytecode generator.wip/andreask/infer-bytecode
* 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/Config/Stg/Pipeline.hs')
-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.