X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fiface%2FBinIface.hs;h=72ea80deb74c250388f18411a145a0615e073e78;hp=ebb26c784c5e394f081f95a1ea31e928afffc70b;hb=d5934bbb856aa0aa620c9b2e0fa51c90a1a5a048;hpb=33b8b60e0aa925962cd11a8be98d9818666d58a0 diff --git a/compiler/iface/BinIface.hs b/compiler/iface/BinIface.hs index ebb26c7..72ea80d 100644 --- a/compiler/iface/BinIface.hs +++ b/compiler/iface/BinIface.hs @@ -1002,6 +1002,15 @@ instance Binary IfaceNote where put_ bh (IfaceCoreNote s) = do putByte bh 4 put_ bh s + put_ bh (IfaceTickBox m n) = do + putByte bh 5 + put_ bh m + put_ bh n + put_ bh (IfaceBinaryTickBox m t e) = do + putByte bh 6 + put_ bh m + put_ bh t + put_ bh e get bh = do h <- getByte bh case h of @@ -1010,7 +1019,13 @@ instance Binary IfaceNote where 3 -> do return IfaceInlineMe 4 -> do ac <- get bh return (IfaceCoreNote ac) - + 5 -> do m <- get bh + n <- get bh + return (IfaceTickBox m n) + 6 -> do m <- get bh + t <- get bh + e <- get bh + return (IfaceBinaryTickBox m t e) ------------------------------------------------------------------------- -- IfaceDecl and friends