X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fiface%2FBinIface.hs;h=d8525590ebd69c04603fa59851e878c1cad6fd01;hp=392873bbd972ea8bbd66dfb9ab55a43f6d95a6b0;hb=e04f49034968322349e0f3f608e1b5a856fd6521;hpb=6abf4f532101e8e44970486b99626f583e071167 diff --git a/compiler/iface/BinIface.hs b/compiler/iface/BinIface.hs index 392873b..d852559 100644 --- a/compiler/iface/BinIface.hs +++ b/compiler/iface/BinIface.hs @@ -889,6 +889,10 @@ instance Binary IfaceExpr where putByte bh 11 put_ bh ie put_ bh ico + put_ bh (IfaceTick m ix) = do + putByte bh 12 + put_ bh m + put_ bh ix get bh = do h <- getByte bh case h of @@ -928,6 +932,9 @@ instance Binary IfaceExpr where 11 -> do ie <- get bh ico <- get bh return (IfaceCast ie ico) + 12 -> do m <- get bh + ix <- get bh + return (IfaceTick m ix) instance Binary IfaceConAlt where put_ bh IfaceDefault = do