Skip to content
Snippets Groups Projects
Commit 3a0a91b4 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Remove unused ghci/ByteCodeFFI.lhs

parent 5fffd9b2
No related merge requests found
......@@ -552,7 +552,6 @@ Library
TcSplice
Convert
ByteCodeAsm
ByteCodeFFI
ByteCodeGen
ByteCodeInstr
ByteCodeItbls
......
%
% (c) The University of Glasgow 2001-2008
%
ByteCodeGen: Generate machine-code sequences for foreign import
\begin{code}
module ByteCodeFFI ( moan64 ) where
import Outputable
import System.IO
import System.IO.Unsafe
moan64 :: String -> SDoc -> a
moan64 msg pp_rep
= unsafePerformIO (
hPutStrLn stderr (
"\nGHCi's bytecode generation machinery can't handle 64-bit\n" ++
"code properly yet. You can work around this for the time being\n" ++
"by compiling this module and all those it imports to object code,\n" ++
"and re-starting your GHCi session. The panic below contains information,\n" ++
"intended for the GHC implementors, about the exact place where GHC gave up.\n"
)
)
`seq`
pprPanic msg pp_rep
\end{code}
......@@ -124,7 +124,7 @@ data BCInstr
| CASEFAIL
| JMP LocalLabel
-- For doing calls to C (via glue code generated by ByteCodeFFI, or libffi)
-- For doing calls to C (via glue code generated by libffi)
| CCALL Word16 -- stack frame size
(Ptr ()) -- addr of the glue code
Word16 -- whether or not the call is interruptible
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment