small adaption to "awayreg".
This commit is contained in:
parent
1239449207
commit
bfb60b8a33
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ awayreg(regno) {
|
||||||
if (rp->r_contents.t_token == -1) {
|
if (rp->r_contents.t_token == -1) {
|
||||||
if (rp->r_contents.t_att[0].ar == regno)
|
if (rp->r_contents.t_att[0].ar == regno)
|
||||||
erasereg(rp-machregs);
|
erasereg(rp-machregs);
|
||||||
} else {
|
} else if (rp->r_contents.t_token > 0) {
|
||||||
tdp= & tokens[rp->r_contents.t_token];
|
tdp= & tokens[rp->r_contents.t_token];
|
||||||
for (i=0;i<TOKENSIZE;i++)
|
for (i=0;i<TOKENSIZE;i++)
|
||||||
if (tdp->t_type[i] == EV_REG &&
|
if (tdp->t_type[i] == EV_REG &&
|
||||||
|
|
Loading…
Reference in a new issue