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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/1d545caa3d5c4a16ac503d8e1029b9ca58bfb59a

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

commit 1d545caa3d5c4a16ac503d8e1029b9ca58bfb59a
Author: Erik de Castro Lopo <[email protected]>
Date:   Thu Mar 22 18:47:28 2012 +1100

    Fix compile for CPUs other than x86/x86_64.

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

 compiler/nativeGen/X86/Regs.hs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/compiler/nativeGen/X86/Regs.hs b/compiler/nativeGen/X86/Regs.hs
index 6abf1e2..997caf5 100644
--- a/compiler/nativeGen/X86/Regs.hs
+++ b/compiler/nativeGen/X86/Regs.hs
@@ -673,8 +673,10 @@ callClobberedRegs
 freeReg _               = 0#
 globalRegMaybe _        = panic "X86.Regs.globalRegMaybe: not defined"
 
-allIntArgRegs           = panic "X86.Regs.globalRegMaybe: not defined"
-callClobberedRegs       = panic "X86.Regs.globalRegMaybe: not defined"
+allArgRegs              = panic "X86.Regs.allArgRegs: not defined"
+allIntArgRegs           = panic "X86.Regs.allIntArgRegs: not defined"
+allFPArgRegs            = panic "X86.Regs.allFPArgRegs: not defined"
+callClobberedRegs       = panic "X86.Regs.callClobberedRegs: not defined"
 
 
 #endif



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to