Update of /cvsroot/monetdb/pathfinder/compiler/mil
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv20457/compiler/mil
Modified Files:
milgen.brg
Log Message:
propagated changes of Friday Apr 24 2009 - Sunday Apr 26 2009
from the Feb2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/04/24 - tsheyar: compiler/mil/milgen.brg,1.201.2.11
-- 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.215
retrieving revision 1.216
diff -u -d -r1.215 -r1.216
--- milgen.brg 8 Apr 2009 09:21:07 -0000 1.215
+++ milgen.brg 26 Apr 2009 08:56:45 -0000 1.216
@@ -4723,7 +4723,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