From e28dc9b9e45ff351a5e40fd4de9d0fc746540526 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 6 Feb 2009 15:31:35 +0000 Subject: [PATCH 1/1] Add a panic to fix the build on amd64/Linux; to be fixed properly later --- compiler/nativeGen/X86/RegInfo.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/nativeGen/X86/RegInfo.hs b/compiler/nativeGen/X86/RegInfo.hs index d5a6eb5..39bc6de 100644 --- a/compiler/nativeGen/X86/RegInfo.hs +++ b/compiler/nativeGen/X86/RegInfo.hs @@ -412,6 +412,7 @@ mkSpillInstr reg delta slot in case regClass reg of RcInteger -> MOV II64 (OpReg reg) (OpAddr (spRel off_w)) RcDouble -> MOV FF64 (OpReg reg) (OpAddr (spRel off_w)) + RcFloat -> panic "mkSpillInstr/RcFloat" -- ToDo: will it work to always spill as a double? -- does that cause a stall if the data was a float? #else -- 1.7.10.4