diff options
author | sewardj <unknown> | 1999-10-15 11:03:10 +0000 |
---|---|---|
committer | sewardj <unknown> | 1999-10-15 11:03:10 +0000 |
commit | dfb12323d9fd0c8fb717b8e548592f20163b4ed0 (patch) | |
tree | 7900eb0f51b03a254425cd3f978eb1e245071e11 /ghc/interpreter/free.c | |
parent | f5fd4677bc522dba98447c6b3451441e8ab8e33e (diff) | |
download | haskell-dfb12323d9fd0c8fb717b8e548592f20163b4ed0.tar.gz |
[project @ 1999-10-15 11:02:06 by sewardj]
Added basic support for foreign export dynamic.
Many aspects of it are still broken:
* Only supports x86-linux.
* The range of allowable types is small: Char Int Float Double
Addr and Word.
* Adjustor thunks are never freed.
* Returning Doubles or Floats doesn't work at all.
I expect to fix some of these shortly. foreign import also
needs redoing, so it can accept any number of arguments of
any type.
Also:
* Fixed setRtsFlags in Evaluator.c to make it endian-independent.
* Fixed raisePrim in Evaluator.c so things like division by zero,
array index errors, etc, throw an exception instead of
terminating StgHugs. raisePrim is renamed makeErrorCall.
Diffstat (limited to 'ghc/interpreter/free.c')
-rw-r--r-- | ghc/interpreter/free.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ghc/interpreter/free.c b/ghc/interpreter/free.c index d58635bb18..18966d96d0 100644 --- a/ghc/interpreter/free.c +++ b/ghc/interpreter/free.c @@ -7,8 +7,8 @@ * Hugs version 1.4, December 1997 * * $RCSfile: free.c,v $ - * $Revision: 1.4 $ - * $Date: 1999/04/27 10:06:52 $ + * $Revision: 1.5 $ + * $Date: 1999/10/15 11:02:09 $ * ------------------------------------------------------------------------*/ #include "prelude.h" @@ -116,7 +116,7 @@ static List freeVarsExpr( List acc, StgExpr e ) case NAME: return acc; /* Names are never free vars */ default: -printf("\n\n"); +printf("\n"); ppStgExpr(e); printf("\n"); internal("freeVarsExpr"); |