Benjamin Goldberg wrote: [snip] > If someone's code emits something like: > > save $P1 > restore $P2 > > Then IMCC should be able to optimize that to: > > $P<temp> = $P1 > $P2 = $P<temp>
Actually, that (sometimes) should be able to be changed to: $P2 = $P1 .... noop or: noop .... $P2 = $P1 or even removed entirely, rewriting everything after the "...." to refer to $P1 instead of $P2. Does imcc do anything like this? -- $a=24;split//,240513;s/\B/ => /for@@=qw(ac ab bc ba cb ca );{push(@b,$a),($a-=6)^=1 for 2..$a/6x--$|;print "[EMAIL PROTECTED] ]\n";((6<=($a-=6))?$a+=$_[$a%6]-$a%6:($a=pop @b))&&redo;}