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

Modified Files:
      Tag: Feb2009
        milgen.brg 
Log Message:
-- Fix alignment problem in the MIL generation of the slice() operator.

   Scary, but true: Some rules in the MIL generation require the head
   values to start with 0...@0 as they add new columns with offset 0.


U milgen.brg
Index: milgen.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milgen.brg,v
retrieving revision 1.201.2.10
retrieving revision 1.201.2.11
diff -u -d -r1.201.2.10 -r1.201.2.11
--- milgen.brg  18 Mar 2009 09:16:50 -0000      1.201.2.10
+++ milgen.brg  24 Apr 2009 10:12:15 -0000      1.201.2.11
@@ -4708,7 +4708,11 @@
                     assgn (var (tmp->name),
                            slice (var (env_at (L(p)->env, i).mvar->name),
                                   lit_int (p->sem.slice.low),
-                                  lit_int (p->sem.slice.high))));
+                                  lit_int (p->sem.slice.high))),
+                    /* scary but true -- we need to let the seqbases start
+                       with 0...@0 as otherwise alignment problems arise */
+                    assgn (var (tmp->name),
+                           tmark (var (tmp->name), lit_oid (0))));
 
                 env_add (p->env,
                          env_at (L(p)->env, i).col,


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to