Changeset: 9acdf68a8d57 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9acdf68a8d57 Modified Files: monetdb5/optimizer/opt_deadcode.mx Branch: default Log Message:
Remove dead code marked as such as well. diffs (14 lines): diff --git a/monetdb5/optimizer/opt_deadcode.mx b/monetdb5/optimizer/opt_deadcode.mx --- a/monetdb5/optimizer/opt_deadcode.mx +++ b/monetdb5/optimizer/opt_deadcode.mx @@ -128,6 +128,10 @@ break; } + if ( p->token == NOOPsymbol){ + freeInstruction(p); + actions++; + } else if( getModuleId(p)== sqlRef && getFunctionId(p)== assertRef && isVarConstant(mb,getArg(p,1)) && getVarConstant(mb,getArg(p,1)).val.ival==0){ freeInstruction(p); _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list