Update of /cvsroot/monetdb/MonetDB5/src/scheduler
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25089/scheduler
Modified Files:
mal_mes.mx mal_scheduler.mx
Log Message:
preparing for handling multiplexed inline functions.
minor code cleanup, saving 1.5 page of code.
Index: mal_scheduler.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/scheduler/mal_scheduler.mx,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- mal_scheduler.mx 23 Aug 2007 12:46:17 -0000 1.20
+++ mal_scheduler.mx 24 Dec 2007 12:28:25 -0000 1.21
@@ -295,8 +295,7 @@
(void) stk;
(void) p;
- qc = findSymbolInModule(
- findModule(MCgetClient()->nspace,
getName(modnme,strlen(modnme))),
+ qc = findSymbol( getName(modnme,strlen(modnme)),
putName(fcnnme,strlen(fcnnme)));
if (qc)
@@ -315,9 +314,7 @@
int i;
str msg = MAL_SUCCEED;
Client cntxt = MCgetClient();
- Symbol sqlbind = findSymbolInModule(
- findModule(MCgetClient()->nspace, getName("sql",3)),
- getName("bind",4));
+ Symbol sqlbind = findSymbol( getName("sql",3), getName("bind",4));
MALfcn f = getSignature(sqlbind)->fcn;
for (i = 0; i < mb->stop; i++) {
Index: mal_mes.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/scheduler/mal_mes.mx,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- mal_mes.mx 7 Apr 2007 21:05:49 -0000 1.18
+++ mal_mes.mx 24 Dec 2007 12:28:25 -0000 1.19
@@ -337,17 +337,14 @@
meo_loop_optimizer(MalBlkPtr mb, MalStkPtr stk, InstrPtr p)
{
MALfcn f;
- Client c= MCgetClient();
(void) stk;
(void) p;
- f = findSymbolInModule(
- findModule(c->nspace,putName("algebra",7)),
+ f = findSymbol( putName("algebra",7),
putName("cross",5))->def->stmt[0]->fcn;
meo_loop_optimizerImpl(mb, f, "cross");
- f = findSymbolInModule(
- findModule(c->nspace,getName("algebra",7)),
+ f = findSymbol( getName("algebra",7),
putName("join",4))->def->stmt[0]->fcn;
meo_loop_optimizerImpl(mb, f, "join");
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins