Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19955

Modified Files:
        mal_instruction.mx 
Log Message:
handle the debug info better.


Index: mal_instruction.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_instruction.mx,v
retrieving revision 1.310
retrieving revision 1.311
diff -u -d -r1.310 -r1.311
--- mal_instruction.mx  12 Mar 2008 19:36:08 -0000      1.310
+++ mal_instruction.mx  12 Mar 2008 20:14:22 -0000      1.311
@@ -301,7 +301,8 @@
 #endif
 #endif
 
-/* #define DEBUG_MAL_INSTR*/
+#define DEBUG_MAL_INSTR
+/* #define DEBUG_REDUCE */
 #define MAXARG 4               /* BEWARE the code depends on this knowledge */
 #define STMT_INCREMENT 32
 #define STMT_MAXIMUM  1<<16
@@ -1626,7 +1627,7 @@
                vars[i] = cnt;
                cnt++;
        }
-#ifdef DEBUG_MAL_INSTR
+#ifdef DEBUG_REDUCE
        stream_printf(GDKout, "Variable reduction %d -> %d\n", mb->vtop, cnt);
        for(i=0; i<mb->vtop;i++)
                stream_printf(GDKout,"map %d->%d\n",i, vars[i]);
@@ -1646,7 +1647,7 @@
                                p->var = vars[p->var];
                }
        }
-#ifdef DEBUG_MAL_INSTR
+#ifdef DEBUG_REDUCE
        stream_printf(GDKout, "After reduction \n");
        printFunction(GDKout,mb,0);
 #endif


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to