Update of /cvsroot/monetdb/pathfinder/compiler/mil
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1500/mil

Modified Files:
      Tag: xquery-decomposition
        milprint_summer.c 
Log Message:
The #parameters to skip has been reduced with 1.



Index: milprint_summer.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milprint_summer.c,v
retrieving revision 1.409.2.9
retrieving revision 1.409.2.10
diff -u -d -r1.409.2.9 -r1.409.2.10
--- milprint_summer.c   8 Mar 2008 21:10:39 -0000       1.409.2.9
+++ milprint_summer.c   10 Mar 2008 01:55:31 -0000      1.409.2.10
@@ -6383,7 +6383,7 @@
             counter,
             counter);
 
-    i = 5; /* skip the first two params */
+    i = 4; /* skip the first four params */
     while ((args->kind != c_nil) && (fun->params[i]))
     {
         translate2MIL (f, NORMAL, cur_level, counter, L(args));
@@ -6431,7 +6431,7 @@
              * actual parameters (used/returned nodes), in XRPC request
              * message, we need the offsets of each non-empty
              * parameters. */
-            "  fun_vid%03u := ([-](fun_vid%03u.[lng](), (fun_base%03u + 
5))).[oid]();\n"
+            "  fun_vid%03u := ([-](fun_vid%03u.[lng](), (fun_base%03u + 
4))).[oid]();\n"
             "  var res := doLoopLiftedRPC(genType,\n"
             "                             \"%s\", \"%s\", \"%s\",\n"
             "                             %d, %d, iterc_total,\n"
@@ -6459,7 +6459,7 @@
             "} # end of XRPC function call\n",
         counter, counter, counter,
         PFqname_uri (fun->qname), fun->atURI?fun->atURI:f->url, PFqname_loc 
(fun->qname),    
-        updCall, fun->arity - 5,
+        updCall, fun->arity - 4,
         counter, counter, counter, counter);
 }
 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to