Commit 0d9db86f authored by Rémy Oudompheng's avatar Rémy Oudompheng

cmd/5g, cmd/6g, cmd/8g: restore occurrences of R replaced by nil in comments.

R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/12842043
parent 54bdfc00
...@@ -493,15 +493,15 @@ constprop(Adr *c1, Adr *v1, Flow *r) ...@@ -493,15 +493,15 @@ constprop(Adr *c1, Adr *v1, Flow *r)
/* /*
* shortprop eliminates redundant zero/sign extensions. * shortprop eliminates redundant zero/sign extensions.
* *
* MOVBS x, nil * MOVBS x, R
* <no use nil> * <no use R>
* MOVBS nil, nil' * MOVBS R, R'
* *
* changed to * changed to
* *
* MOVBS x, nil * MOVBS x, R
* ... * ...
* MOVB nil, nil' (compiled to mov) * MOVB R, R' (compiled to mov)
* *
* MOVBS above can be a MOVBS, MOVBU, MOVHS or MOVHU. * MOVBS above can be a MOVBS, MOVBU, MOVHS or MOVHU.
*/ */
......
...@@ -98,9 +98,9 @@ peep(Prog *firstp) ...@@ -98,9 +98,9 @@ peep(Prog *firstp)
elimshortmov(g); elimshortmov(g);
// constant propagation // constant propagation
// find MOV $con,nil followed by // find MOV $con,R followed by
// another MOV $con,nil without // another MOV $con,R without
// setting nil in the interim // setting R in the interim
for(r=g->start; r!=nil; r=r->link) { for(r=g->start; r!=nil; r=r->link) {
p = r->prog; p = r->prog;
switch(p->as) { switch(p->as) {
......
...@@ -97,9 +97,9 @@ peep(Prog *firstp) ...@@ -97,9 +97,9 @@ peep(Prog *firstp)
elimshortmov(g); elimshortmov(g);
// constant propagation // constant propagation
// find MOV $con,nil followed by // find MOV $con,R followed by
// another MOV $con,nil without // another MOV $con,R without
// setting nil in the interim // setting R in the interim
for(r=g->start; r!=nil; r=r->link) { for(r=g->start; r!=nil; r=r->link) {
p = r->prog; p = r->prog;
switch(p->as) { switch(p->as) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment