summaryrefslogtreecommitdiff
path: root/compiler/main/CodeOutput.lhs
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-05-09 00:48:40 -0700
committerDavid Terei <davidterei@gmail.com>2011-05-31 00:53:31 -0700
commitc648345e3d82c0c40333bfd8ddea2633e21b08dc (patch)
tree0da3836a27de289c9b63cd5d722b35da25cb740c /compiler/main/CodeOutput.lhs
parentf910373bac063d182ed82132e2237eaa7491570c (diff)
downloadhaskell-c648345e3d82c0c40333bfd8ddea2633e21b08dc.tar.gz
Remove very dead Java backend code.
Diffstat (limited to 'compiler/main/CodeOutput.lhs')
-rw-r--r--compiler/main/CodeOutput.lhs32
1 files changed, 0 insertions, 32 deletions
diff --git a/compiler/main/CodeOutput.lhs b/compiler/main/CodeOutput.lhs
index f5e339440b..b58b7cd395 100644
--- a/compiler/main/CodeOutput.lhs
+++ b/compiler/main/CodeOutput.lhs
@@ -13,12 +13,6 @@ import LlvmCodeGen ( llvmCodeGen )
import UniqSupply ( mkSplitUniqSupply )
-#ifdef JAVA
-import JavaGen ( javaGen )
-import qualified PrintJava
-import OccurAnal ( occurAnalyseBinds )
-#endif
-
import Finder ( mkStubPaths )
import PprC ( writeCs )
import CmmLint ( cmmLint )
@@ -83,12 +77,6 @@ codeOutput dflags this_mod location foreign_stubs pkg_deps flat_abstractC
HscAsm -> outputAsm dflags filenm flat_abstractC;
HscC -> outputC dflags filenm flat_abstractC pkg_deps;
HscLlvm -> outputLlvm dflags filenm flat_abstractC;
- HscJava ->
-#ifdef JAVA
- outputJava dflags filenm mod_name tycons core_binds;
-#else
- panic "Java support not compiled into this ghc";
-#endif
HscNothing -> panic "codeOutput: HscNothing"
}
; return stubs_exist
@@ -176,26 +164,6 @@ outputLlvm dflags filenm flat_absC
%************************************************************************
%* *
-\subsection{Java}
-%* *
-%************************************************************************
-
-\begin{code}
-#ifdef JAVA
-outputJava dflags filenm mod tycons core_binds
- = doOutput filenm (\ f -> printForUser f alwaysQualify pp_java)
- -- User style printing for now to keep indentation
- where
- occ_anal_binds = occurAnalyseBinds core_binds
- -- Make sure we have up to date dead-var information
- java_code = javaGen mod [{- Should be imports-}] tycons occ_anal_binds
- pp_java = PrintJava.compilationUnit java_code
-#endif
-\end{code}
-
-
-%************************************************************************
-%* *
\subsection{Foreign import/export}
%* *
%************************************************************************