summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Tennie <sven.tennie@wire.com>2023-05-03 11:32:39 +0000
committerSven Tennie <sven.tennie@wire.com>2023-05-03 11:32:39 +0000
commitc5024bcbe41c5cab6429185fa4d65c67f87b8aa1 (patch)
tree451a17d19e52e11e48ba03046528eabc0b840cb6
parent1303b53d58b539e2324484ce0427a9fdd3c62f89 (diff)
downloadhaskell-wip/angerman/riscv64-ncg.tar.gz
Fix compiler warning about importing GHC.Utils.Panic.Plain in CodeGen.Platform.hwip/supersven/riscv-increase-CI-happinesswip/angerman/riscv64-ncg
-rw-r--r--compiler/CodeGen.Platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/CodeGen.Platform.h b/compiler/CodeGen.Platform.h
index b4f087da35..01109128c8 100644
--- a/compiler/CodeGen.Platform.h
+++ b/compiler/CodeGen.Platform.h
@@ -1,7 +1,8 @@
import GHC.Cmm.Expr
#if !(defined(MACHREGS_i386) || defined(MACHREGS_x86_64) \
- || defined(MACHREGS_powerpc) || defined(MACHREGS_aarch64))
+ || defined(MACHREGS_powerpc) || defined(MACHREGS_aarch64) \
+ || defined(MACHREGS_riscv64))
import GHC.Utils.Panic.Plain
#endif
import GHC.Platform.Reg