From: feqin f. <feq...@gm...> - 2012-12-11 10:23:30
|
Sorry. I have checked all the refrence to function allocDirReg(the line 757 belong to it), the return value <Reg> is useless, the subsequent refrence to the Reg will be looked up in the dynDirectRegNames. 2012/12/7 Raphael Neider <rn...@we...> > Hi, > > in the file ralloc.c line 757. Is it should be reg = allocNewDirReg >> (OP_SYM_TYPE(op),name); ?? >> > > >> I think you are right. The line is probably never reached due to previous > assignments to reg, but I did not look up if/when the functions providing > reg's value can return NULL. > I guess this should be fixed. > > Thanks for the report. > > Raphael > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > sdcc-devel mailing list > sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-devel > > -- *live long and prosper..* |