summaryrefslogtreecommitdiff
path: root/ghc/interpreter/codegen.c
diff options
context:
space:
mode:
authorsewardj <unknown>1999-03-09 14:51:30 +0000
committersewardj <unknown>1999-03-09 14:51:30 +0000
commit9da01c710daee2cd5038afb8fad761cdaf343033 (patch)
tree2b4416af0d63bda2bd4b941c25d11599de59fb48 /ghc/interpreter/codegen.c
parenta41d833a9b8377b6c03d86a7b023c1def41d97d1 (diff)
downloadhaskell-9da01c710daee2cd5038afb8fad761cdaf343033.tar.gz
[project @ 1999-03-09 14:51:03 by sewardj]
Many improvements resulting from first attempt to run nofib suite: -- More libraries (lib/*.hs) brought into operation -- Prelude error handling and basic I/O improved -- Changed bytecode immediate value fields so large constant -- tables can be compiled -- Fixed bugs: translation of FATBAR, negative floating point -- literals, strict constructors, handling of CAFs
Diffstat (limited to 'ghc/interpreter/codegen.c')
-rw-r--r--ghc/interpreter/codegen.c33
1 files changed, 18 insertions, 15 deletions
diff --git a/ghc/interpreter/codegen.c b/ghc/interpreter/codegen.c
index 5ef8e28463..42059511cf 100644
--- a/ghc/interpreter/codegen.c
+++ b/ghc/interpreter/codegen.c
@@ -7,8 +7,8 @@
* Hugs version 1.4, December 1997
*
* $RCSfile: codegen.c,v $
- * $Revision: 1.4 $
- * $Date: 1999/03/01 14:46:42 $
+ * $Revision: 1.5 $
+ * $Date: 1999/03/09 14:51:04 $
* ------------------------------------------------------------------------*/
#include "prelude.h"
@@ -636,22 +636,25 @@ Void cgBinds( List binds )
List b;
int i;
- //if (lastModule() != modulePrelude) {
- // printf("\n\ncgBinds: before ll\n\n" );
- // for (b=binds; nonNull(b); b=tl(b)) {
- // printStg ( stdout, hd(b) ); printf("\n\n");
- // }
- //}
+#if 0
+ if (lastModule() != modulePrelude) {
+ printf("\n\ncgBinds: before ll\n\n" );
+ for (b=binds; nonNull(b); b=tl(b)) {
+ printStg ( stdout, hd(b) ); printf("\n\n");
+ }
+ }
+#endif
binds = liftBinds(binds);
- //if (lastModule() != modulePrelude) {
- // printf("\n\ncgBinds: after ll\n\n" );
- // for (b=binds; nonNull(b); b=tl(b)) {
- // printStg ( stdout, hd(b) ); printf("\n\n");
- // }
- //}
-
+#if 0
+ if (lastModule() != modulePrelude) {
+ printf("\n\ncgBinds: after ll\n\n" );
+ for (b=binds; nonNull(b); b=tl(b)) {
+ printStg ( stdout, hd(b) ); printf("\n\n");
+ }
+ }
+#endif
//mapProc(beginTop,binds);
for (b=binds,i=0; nonNull(b); b=tl(b),i++) {