[commit: ghc] wip/carter/remove_x87Registers: remove unreachable cases in the Sparc pretty Printer (8812e99)
git at git.haskell.org
git at git.haskell.org
Thu Dec 27 17:00:03 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/carter/remove_x87Registers
Link : http://ghc.haskell.org/trac/ghc/changeset/8812e9991ccee42ccdf44176643b135f25c3c550/ghc
>---------------------------------------------------------------
commit 8812e9991ccee42ccdf44176643b135f25c3c550
Author: Carter Tazio Schonwald <carter.schonwald at gmail.com>
Date: Sat Dec 22 12:58:14 2018 -0500
remove unreachable cases in the Sparc pretty Printer
>---------------------------------------------------------------
8812e9991ccee42ccdf44176643b135f25c3c550
compiler/nativeGen/SPARC/Ppr.hs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/compiler/nativeGen/SPARC/Ppr.hs b/compiler/nativeGen/SPARC/Ppr.hs
index 96fcfd5..a0655ff 100644
--- a/compiler/nativeGen/SPARC/Ppr.hs
+++ b/compiler/nativeGen/SPARC/Ppr.hs
@@ -225,7 +225,6 @@ pprFormat x
II64 -> sLit "d"
FF32 -> sLit ""
FF64 -> sLit "d"
- _ -> panic "SPARC.Ppr.pprFormat: no match")
-- | Pretty print a format for an instruction suffix.
@@ -240,7 +239,7 @@ pprStFormat x
II64 -> sLit "x"
FF32 -> sLit ""
FF64 -> sLit "d"
- _ -> panic "SPARC.Ppr.pprFormat: no match")
+
-- | Pretty print a condition code.
More information about the ghc-commits
mailing list