Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Craig Ferguson
GHC
Commits
3a0a91b4
Commit
3a0a91b4
authored
13 years ago
by
Ian Lynagh
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused ghci/ByteCodeFFI.lhs
parent
5fffd9b2
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
compiler/ghc.cabal.in
+0
-1
0 additions, 1 deletion
compiler/ghc.cabal.in
compiler/ghci/ByteCodeFFI.lhs
+0
-28
0 additions, 28 deletions
compiler/ghci/ByteCodeFFI.lhs
compiler/ghci/ByteCodeInstr.lhs
+1
-1
1 addition, 1 deletion
compiler/ghci/ByteCodeInstr.lhs
with
1 addition
and
30 deletions
compiler/ghc.cabal.in
+
0
−
1
View file @
3a0a91b4
...
...
@@ -552,7 +552,6 @@ Library
TcSplice
Convert
ByteCodeAsm
ByteCodeFFI
ByteCodeGen
ByteCodeInstr
ByteCodeItbls
...
...
This diff is collapsed.
Click to expand it.
compiler/ghci/ByteCodeFFI.lhs
deleted
100644 → 0
+
0
−
28
View file @
5fffd9b2
%
% (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}
This diff is collapsed.
Click to expand it.
compiler/ghci/ByteCodeInstr.lhs
+
1
−
1
View file @
3a0a91b4
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment