| Index: src/cmd/6g/reg.c |
| =================================================================== |
| --- a/src/cmd/6g/reg.c |
| +++ b/src/cmd/6g/reg.c |
| @@ -415,17 +415,6 @@ |
| if(!debug['R'] || debug['P']) |
| peep(firstp); |
| - /* |
| - * eliminate nops |
| - */ |
| - for(p=firstp; p!=P; p=p->link) { |
| - while(p->link != P && p->link->as == ANOP) |
| - p->link = p->link->link; |
| - if(p->to.type == D_BRANCH) |
| - while(p->to.u.branch != P && p->to.u.branch->as == ANOP) |
| - p->to.u.branch = p->to.u.branch->link; |
| - } |
| - |
| if(debug['R']) { |
| if(ostats.ncvtreg || |
| ostats.nspill || |