[commit: ghc] master: Cosmetics in GraphColor (1e741fe)

git at git.haskell.org git at git.haskell.org
Wed Aug 15 16:23:49 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1e741fe829dcf25acf5bf07ce4593f2b537dd351/ghc

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

commit 1e741fe829dcf25acf5bf07ce4593f2b537dd351
Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
Date:   Wed Aug 15 18:20:36 2018 +0200

    Cosmetics in GraphColor
    
    This allows to run ghc-in-ghci when :set -XTypeApplications is in
    .ghciconfig.


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

1e741fe829dcf25acf5bf07ce4593f2b537dd351
 compiler/utils/GraphColor.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/utils/GraphColor.hs b/compiler/utils/GraphColor.hs
index 34cbb29..4c1388e 100644
--- a/compiler/utils/GraphColor.hs
+++ b/compiler/utils/GraphColor.hs
@@ -193,7 +193,7 @@ colorScan_spin iterative triv spill graph
 
                 -- we were able to coalesce something
                 --      go back to Simplify and see if this frees up more nodes to be trivially colorable.
-                (graph2, kksCoalesceFound @(_:_))
+                (graph2, kksCoalesceFound@(_:_))
                  -> colorScan_spin iterative triv spill graph2
                         ksTriv ksSpill (reverse kksCoalesceFound ++ kksCoalesce)
 



More information about the ghc-commits mailing list