diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-05-25 13:27:51 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-05-28 16:27:20 -0400 |
commit | 13d9380b1fc8b67057a9ad4fffe244040a7f9bc0 (patch) | |
tree | 6372c8c10a4c242ec358f5afbd7287b54546320f /compiler/GHC/StgToCmm/Monad.hs | |
parent | 8f021b8c474f328441982c90c6a12f716b5607eb (diff) | |
download | haskell-13d9380b1fc8b67057a9ad4fffe244040a7f9bc0.tar.gz |
Rip out CmmStackInfo(updfr_space)
As noted in #18232, this field is currently completely unused and
moreover doesn't have a clear meaning.
Diffstat (limited to 'compiler/GHC/StgToCmm/Monad.hs')
-rw-r--r-- | compiler/GHC/StgToCmm/Monad.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/GHC/StgToCmm/Monad.hs b/compiler/GHC/StgToCmm/Monad.hs index 7d948e4c5a..280a71674b 100644 --- a/compiler/GHC/StgToCmm/Monad.hs +++ b/compiler/GHC/StgToCmm/Monad.hs @@ -762,8 +762,7 @@ emitProcWithConvention conv mb_info lbl args blocks emitProc :: Maybe CmmInfoTable -> CLabel -> [GlobalReg] -> CmmAGraphScoped -> Int -> Bool -> FCode () emitProc mb_info lbl live blocks offset do_layout - = do { platform <- getPlatform - ; l <- newBlockId + = do { l <- newBlockId ; let blks :: CmmGraph blks = labelAGraph l blocks @@ -772,7 +771,6 @@ emitProc mb_info lbl live blocks offset do_layout | otherwise = mapEmpty sinfo = StackInfo { arg_space = offset - , updfr_space = Just (initUpdFrameOff platform) , do_layout = do_layout } tinfo = TopInfo { info_tbls = infos |