[commit: ghc] master: Fix compile failure on non x86/x86-64 (#7054). (810f0be)

Simon Marlow marlowsd at gmail.com
Mon Jul 9 14:52:07 CEST 2012


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/810f0be64edd47f3597985ae132cec8d638c1171

>---------------------------------------------------------------

commit 810f0be64edd47f3597985ae132cec8d638c1171
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Sat Jul 7 11:32:21 2012 +1000

    Fix compile failure on non x86/x86-64 (#7054).

>---------------------------------------------------------------

 compiler/nativeGen/X86/Regs.hs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/compiler/nativeGen/X86/Regs.hs b/compiler/nativeGen/X86/Regs.hs
index ac44993..6af9bc9 100644
--- a/compiler/nativeGen/X86/Regs.hs
+++ b/compiler/nativeGen/X86/Regs.hs
@@ -646,6 +646,11 @@ allIntArgRegs           = panic "X86.Regs.allIntArgRegs: not defined"
 allFPArgRegs            = panic "X86.Regs.allFPArgRegs: not defined"
 callClobberedRegs       = panic "X86.Regs.callClobberedRegs: not defined"
 
+instrClobberedRegs :: [RealReg]
+instrClobberedRegs = panic "X86.Regs.instrClobberedRegs: not defined for this arch"
+
+allHaskellArgRegs :: [Reg]
+allHaskellArgRegs = panic "X86.Regs.allHaskellArgRegs: not defined for this arch"
 
 #endif
 





More information about the Cvs-ghc mailing list