Am Dienstag, 9. Oktober 2007 22:25 schrieb Paul Cochrane:
> In compilers/imcc/optimizer.c:move_ins_out() there is the todo item:
I really appreciate all the effort to todo-ize these items. But it shouldn't
be done too mechanically.
a few greps in optimizer.c reveal:
* move_ins_out() is only used in:
* loop_one(), which is used only in
* loop_optimization() and that's turned off as
if DO_LOOP_OPTIMIZATION
if (loop_optimization(interp, unit))
return 1;
#endif
...
/* buggy - turned off */
#define DO_LOOP_OPTIMIZATION 0
All that mess could just be removed as well, w/o further impact. An oneline
comment could hint to some history of that re svn, but I doubt it'll be worth
the effort ;)
Thanks,
leo