summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/X86/RegInfo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nativeGen/X86/RegInfo.hs')
-rw-r--r--compiler/nativeGen/X86/RegInfo.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/nativeGen/X86/RegInfo.hs b/compiler/nativeGen/X86/RegInfo.hs
index e47cc63e38..d5a6eb527e 100644
--- a/compiler/nativeGen/X86/RegInfo.hs
+++ b/compiler/nativeGen/X86/RegInfo.hs
@@ -9,7 +9,7 @@ module X86.RegInfo (
patchJump,
isRegRegMove,
- JumpDest,
+ JumpDest(..),
canShortcut,
shortcutJump,
@@ -457,6 +457,7 @@ mkRegRegMoveInstr src dst
RcInteger -> MOV wordSize (OpReg src) (OpReg dst)
#if i386_TARGET_ARCH
RcDouble -> GMOV src dst
+ RcFloat -> panic "X86.RegInfo.mkRegRegMoveInstr: no match"
#else
RcDouble -> MOV FF64 (OpReg src) (OpReg dst)
RcFloat -> panic "X86.RegInfo.mkRegRegMoveInstr: no match"