[Git][ghc/ghc][wip/riscv-revived] Fix linting issue: Incomplete pattern match

Sven Tennie gitlab at gitlab.haskell.org
Mon Oct 12 14:36:42 UTC 2020



Sven Tennie pushed to branch wip/riscv-revived at Glasgow Haskell Compiler / GHC


Commits:
3b01b2b1 by Sven Tennie at 2020-10-12T16:36:30+02:00
Fix linting issue: Incomplete pattern match

- - - - -


1 changed file:

- compiler/GHC/CmmToAsm.hs


Changes:

=====================================
compiler/GHC/CmmToAsm.hs
=====================================
@@ -170,6 +170,7 @@ nativeCodeGen dflags this_mod modLoc h us cmms
       ArchAlpha     -> panic "nativeCodeGen: No NCG for Alpha"
       ArchMipseb    -> panic "nativeCodeGen: No NCG for mipseb"
       ArchMipsel    -> panic "nativeCodeGen: No NCG for mipsel"
+      ArchRiscV64   -> panic "nativeCodeGen: No NCG for RiscV64"
       ArchUnknown   -> panic "nativeCodeGen: No NCG for unknown arch"
       ArchJavaScript-> panic "nativeCodeGen: No NCG for JavaScript"
 
@@ -1194,4 +1195,3 @@ initNCGConfig dflags = NCGConfig
    , ncgDwarfUnwindings     = debugLevel dflags >= 1
    , ncgDwarfStripBlockInfo = debugLevel dflags < 2 -- We strip out block information when running with -g0 or -g1.
    }
-



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3b01b2b15a28558ec411561567ebe211eaa1e3a8

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3b01b2b15a28558ec411561567ebe211eaa1e3a8
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/20201012/2c8df20e/attachment.html>


More information about the ghc-commits mailing list