diff options
Diffstat (limited to 'src/cmd/8g/reg.c')
-rw-r--r-- | src/cmd/8g/reg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/8g/reg.c b/src/cmd/8g/reg.c index 29270c820..45ffdf96c 100644 --- a/src/cmd/8g/reg.c +++ b/src/cmd/8g/reg.c @@ -677,8 +677,8 @@ brk: p->to.branch = p->to.branch->link; } - if(r1 != R) { - r1->link = freer; + if(lastr != R) { + lastr->link = freer; freer = firstr; } |