[commit: ghc] ghc-7.2: Fix build with older bootstrapping compilers (aa8bbf7)

Ian Lynagh igloo at earth.li
Tue Jul 19 18:27:53 CEST 2011


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

On branch  : ghc-7.2

http://hackage.haskell.org/trac/ghc/changeset/aa8bbf7e62d4d9e38edbf12d76e0507c766b3f21

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

commit aa8bbf7e62d4d9e38edbf12d76e0507c766b3f21
Author: Ian Lynagh <igloo at earth.li>
Date:   Sat Jul 16 09:12:11 2011 +0100

    Fix build with older bootstrapping compilers

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

 compiler/nativeGen/RegAlloc/Graph/SpillClean.hs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs b/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs
index efb11b5..da13eab 100644
--- a/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs
+++ b/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs
@@ -114,9 +114,9 @@ cleanSpin platform spinCount code
 
 -- | Clean one basic block
 cleanBlockForward
-    :: Platform
-    -> Instruction instr
-    => LiveBasicBlock instr
+    :: Instruction instr
+    => Platform
+    -> LiveBasicBlock instr
     -> CleanM (LiveBasicBlock instr)
 
 cleanBlockForward platform (BasicBlock blockId instrs)





More information about the Cvs-ghc mailing list