Update of /cvsroot/monetdb/pathfinder/compiler/mil
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv8834/compiler/mil

Modified Files:
        milgen.brg 
Log Message:
propagated changes of Tuesday Sep 22 2009
from the Aug2009 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/09/22 - jflokstra: compiler/mil/milgen.brg,1.221.2.1
* fix [ monetdb-Bugs-2863458 ] PF/TIJAH: tokenize in a for-loop

The pin count of the tokenize operation result bats was always set to 1 but
should have been set to the number of times the operand is used by other
operations.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


U milgen.brg
Index: milgen.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milgen.brg,v
retrieving revision 1.221
retrieving revision 1.222
diff -u -d -r1.221 -r1.222
--- milgen.brg  24 Jul 2009 13:18:31 -0000      1.221
+++ milgen.brg  22 Sep 2009 11:01:54 -0000      1.222
@@ -10502,7 +10502,7 @@
                                          op1->env,
                                          op1->schema.items[0].name /* iter */,
                                          aat_nat);
-                   pin(p_iter,1);
+                   pin(p_iter,p->refctr);
                     env_add (p->env, fc_iter_a, aat_nat, p_iter);
 
                     mvar_t *new_item  = new_var (p->refctr);
@@ -10548,7 +10548,7 @@
                                          op1->schema.items[1].name /* pos */,
                                          postype);
                    }
-                   pin(p_pos,1);
+                   pin(p_pos,p->refctr);
                     env_add (p->env, fc_pos_a, aat_nat, p_pos);
                } else if (strcmp(fcname,PFT_INFO) == 0 ) {
                    mvar_t *pfop_names;


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to