Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(128)

Unified Diff: src/cmd/6g/reg.c

Issue 55470043: cmd/gc: failed attempt at reducing addressed temporaries
Patch Set: diff -r eee3e7a93639 https://code.google.com/p/go/ Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/6g/list.c ('k') | src/cmd/gc/gen.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ||
« no previous file with comments | « src/cmd/6g/list.c ('k') | src/cmd/gc/gen.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b