X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FcodeGen%2FCgUtils.hs;h=213b9ea4a046365b2e7e69b727b269d40c19768a;hb=0b57caeac7840ef903a54ddd3196f3d573ca8cc4;hp=1f44c43ab1ea8f13e49e22bb887baaf3ed8ea8bc;hpb=b71b86cf18374f8011120c92e24ca293986e86ea;p=ghc-hetmet.git diff --git a/compiler/codeGen/CgUtils.hs b/compiler/codeGen/CgUtils.hs index 1f44c43..213b9ea 100644 --- a/compiler/codeGen/CgUtils.hs +++ b/compiler/codeGen/CgUtils.hs @@ -53,6 +53,7 @@ module CgUtils ( #include "HsVersions.h" #include "../includes/MachRegs.h" +import BlockId import CgMonad import TyCon import DataCon @@ -438,7 +439,7 @@ get_Regtable_addr_from_offset rep offset = #endif --- | Returns 'True' if this global register is stored in a caller-saves +-- | Returns @True@ if this global register is stored in a caller-saves -- machine register. callerSaves :: GlobalReg -> Bool @@ -903,7 +904,7 @@ doSimultaneously1 vertices edges_from stmt1 = [ key2 | (key2, stmt2) <- vertices, stmt1 `mustFollow` stmt2 ] - components = stronglyConnComp edges + components = stronglyConnCompFromEdgedVertices edges -- do_components deal with one strongly-connected component -- Not cyclic, or singleton? Just do it