C backend: ignore MO_Touch
authorSimon Marlow <marlowsd@gmail.com>
Fri, 16 Nov 2012 14:03:49 +0000 (14:03 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 16 Nov 2012 14:48:56 +0000 (14:48 +0000)
compiler/cmm/PprC.hs

index 4e73ade..ed99855 100644 (file)
@@ -230,6 +230,8 @@ pprStmt stmt =
                     pprCall cast_fn cconv hresults hargs <> semi)
                         -- for a dynamic call, no declaration is necessary.
 
+    CmmUnsafeForeignCall (PrimTarget MO_Touch) _results _args -> empty
+
     CmmUnsafeForeignCall target@(PrimTarget op) results args ->
         proto $$ fn_call
       where