Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19804/compiler/include
Modified Files:
mil_opt.h
Log Message:
propagated changes of Wednesday Jun 06 2007 - Wednesday Jun 06 2007
from the XQuery_0-18 branch to the development trunk
Index: mil_opt.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/mil_opt.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- mil_opt.h 25 Jan 2007 23:40:17 -0000 1.23
+++ mil_opt.h 6 Jun 2007 20:19:26 -0000 1.24
@@ -41,13 +41,13 @@
* - don't generate MIL statements with multiple (i.e. inline) assignments "x
:= (y := 1) + 1;"
* - for better pruning: use assignment notation for update statements "x :=
x.insert(y);"
* ----------------------------------------------------------------------------
- */
#define OPT_CODEMOTION 1
+ */
#define OPT_STMTS 32767 /* <65535 if first-use further out than this amount of
stamements, dead codes survises anyhow */
#define OPT_VARS 1024 /* don't try dead code elimintation above this amount of
live variables */
#define OPT_REFS 63 /* keep track of usage dependencies; may omit some, which
results in surviving dead code */
-#define OPT_CONDS 32 /* maximum if-nesting */
+#define OPT_CONDS 32767 /* maximum if-nesting */
#define OPT_SEC_PROLOGUE 0
#define OPT_SEC_QUERY 1
@@ -115,6 +115,7 @@
typedef struct {
unsigned int optimize; /* or not */
+ unsigned int delete; /* used to bail out from further optimization after
structures overflow */
unsigned int curstmt; /* number of detected MIL statements so far */
unsigned int scope; /* current scope depth */
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins