[Git][ghc/ghc][wip/romes/fixes-4] Apply 1 suggestion(s) to 1 file(s)
Rodrigo Mesquita (@alt-romes)
gitlab at gitlab.haskell.org
Tue May 7 14:23:33 UTC 2024
Rodrigo Mesquita pushed to branch wip/romes/fixes-4 at Glasgow Haskell Compiler / GHC
Commits:
751bda48 by Andreas Klebinger at 2024-05-07T14:23:29+00:00
Apply 1 suggestion(s) to 1 file(s)
- - - - -
1 changed file:
- compiler/GHC/CmmToAsm/Monad.hs
Changes:
=====================================
compiler/GHC/CmmToAsm/Monad.hs
=====================================
@@ -84,7 +84,7 @@ data NcgImpl statics instr jumpDest = NcgImpl {
generateJumpTableForInstr :: instr -> Maybe (NatCmmDecl statics instr),
-- | Given a jump destination, if it refers to a block, return the block id of the destination.
getJumpDestBlockId :: jumpDest -> Maybe BlockId,
- -- | Determine whether the given instruction is a jump to some destination.
+ -- | Determine whether the given instruction is a shortcutable jump to some destination.
-- The function is named as such because we use this predicate only in
-- order to shortcut redundant jumps, such as a jump to @b@ in the following program:
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/751bda48607000ae27c02de7b94712d6c364c30e
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/751bda48607000ae27c02de7b94712d6c364c30e
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240507/03be83d9/attachment.html>
More information about the ghc-commits
mailing list