diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-05-25 17:37:55 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-18 23:08:35 -0400 |
commit | d4a0be758003f32b9d9d89cfd14b9839ac002f4d (patch) | |
tree | 2ced620f7598d9e71882be08b027a7ce9e448be2 /compiler/GHC/Cmm/Pipeline.hs | |
parent | 2af0ec9059b94e1fa6b37eda60216e0222e1a53d (diff) | |
download | haskell-d4a0be758003f32b9d9d89cfd14b9839ac002f4d.tar.gz |
Move tablesNextToCode field into Platform
tablesNextToCode is a platform setting and doesn't belong into DynFlags
(#17957). Doing this is also a prerequisite to fix #14335 where we deal
with two platforms (target and host) that may have different platform
settings.
Diffstat (limited to 'compiler/GHC/Cmm/Pipeline.hs')
-rw-r--r-- | compiler/GHC/Cmm/Pipeline.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Cmm/Pipeline.hs b/compiler/GHC/Cmm/Pipeline.hs index 2dc4ecb80e..e28c880d44 100644 --- a/compiler/GHC/Cmm/Pipeline.hs +++ b/compiler/GHC/Cmm/Pipeline.hs @@ -172,7 +172,7 @@ cpsTop hsc_env proc = -- label to put on info tables for basic blocks that are not -- the entry point. splitting_proc_points = hscTarget dflags /= HscAsm - || not (tablesNextToCode dflags) + || not (platformTablesNextToCode platform) || -- Note [inconsistent-pic-reg] usingInconsistentPicReg usingInconsistentPicReg |