X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2FCmmCvt.hs;h=4d413257bed6a6ca260c837032bce89c1e34f173;hb=7fc01c4671980ea3c66d549c0ece4d82fd3f5ade;hp=016e725673bdf044d685e50edacac31c5ebb66d8;hpb=703ca1542c8e0983cc9d8eebce6e9f3dd3fd71e2;p=ghc-hetmet.git diff --git a/compiler/cmm/CmmCvt.hs b/compiler/cmm/CmmCvt.hs index 016e725..4d41325 100644 --- a/compiler/cmm/CmmCvt.hs +++ b/compiler/cmm/CmmCvt.hs @@ -13,7 +13,7 @@ import PprCmm() import qualified ZipCfg as G import FastString -import Monad +import Control.Monad import Outputable import UniqSupply @@ -115,6 +115,7 @@ ofZgraph g = ListGraph $ swallow blocks mid (MidComment s) = CmmComment s mid (MidAssign l r) = CmmAssign l r mid (MidStore l r) = CmmStore l r + mid (MidForeignCall _ (PrimTarget MO_Touch) _ _) = CmmNop mid (MidForeignCall _ target ress args) = CmmCall (cmm_target target) (add_hints conv Results ress)