projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Retrieving the datacon of an arbitrary closure
[ghc-hetmet.git]
/
compiler
/
iface
/
BinIface.hs
diff --git
a/compiler/iface/BinIface.hs
b/compiler/iface/BinIface.hs
index
72ea80d
..
782bada
100644
(file)
--- a/
compiler/iface/BinIface.hs
+++ b/
compiler/iface/BinIface.hs
@@
-1002,15
+1002,6
@@
instance Binary IfaceNote where
put_ bh (IfaceCoreNote s) = do
putByte bh 4
put_ bh s
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
get bh = do
h <- getByte bh
case h of
@@
-1019,13
+1010,6
@@
instance Binary IfaceNote where
3 -> do return IfaceInlineMe
4 -> do ac <- get bh
return (IfaceCoreNote ac)
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
-------------------------------------------------------------------------
-- IfaceDecl and friends