import AsmCodeGen ( nativeCodeGen )
#endif
-#ifdef ILX
-import IlxGen ( ilxGen )
-#endif
-
#ifdef JAVA
import JavaGen ( javaGen )
import qualified PrintJava
#else
panic "Java support not compiled into this ghc";
#endif
- HscILX ->
-#ifdef ILX
- let tycons = typeEnvTyCons type_env in
- outputIlx dflags filenm mod_name tycons stg_binds;
-#else
- panic "ILX support not compiled into this ghc";
-#endif
}
; return stubs_exist
}
%************************************************************************
%* *
-\subsection{Ilx}
-%* *
-%************************************************************************
-
-\begin{code}
-#ifdef ILX
-outputIlx dflags filename mod tycons stg_binds
- = doOutput filename (\ f -> printForC f pp_ilx)
- where
- pp_ilx = ilxGen mod tycons stg_binds
-#endif
-\end{code}
-
-
-%************************************************************************
-%* *
\subsection{Foreign import/export}
%* *
%************************************************************************