Update of /cvsroot/monetdb/MonetDB5/src/optimizer
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29039/optimizer
Modified Files:
opt_inline.mx opt_remap.mx
Log Message:
Synchronizing the code.
Index: opt_remap.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_remap.mx,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- opt_remap.mx 27 Dec 2007 18:39:56 -0000 1.18
+++ opt_remap.mx 27 Dec 2007 19:04:44 -0000 1.19
@@ -159,7 +159,6 @@
s= findSymbol( VALget(&getVar(mb, getArg(p, 1))->value),
VALget(&getVar(mb, getArg(p,
2))->value));
-#define DEBUG_OPT_REMAP
if( s== NULL || !isSideEffectFree(s->def)){
#ifdef DEBUG_OPT_REMAP
if( s== NULL)
Index: opt_inline.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_inline.mx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- opt_inline.mx 27 Dec 2007 18:36:19 -0000 1.7
+++ opt_inline.mx 27 Dec 2007 19:04:44 -0000 1.8
@@ -119,6 +119,8 @@
to the multiplex operation, we check some basic properties
of the target function. Moreover, we apply the inline optimizer
to the target function as well.
+This code should be protected against overflow due to recursive calls.
+In general, this is a hard problem. For now, we just expand.
@c
(void) OPTinlineImplementation(s->def, NULL, p);
return varGetProp(s->def , getArg(getInstrPtr(s->def,0), 0),
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins