Commit a6799963 authored by Russ Cox's avatar Russ Cox

update 6g to new REGARG convention.

silence gcc warning.

R=ken
OCL=31583
CL=31583
parent e11447f7
......@@ -844,7 +844,7 @@ copyu(Prog *p, Adr *v, Adr *s)
case ACALL: /* funny */
if(REGEXT && v->type <= REGEXT && v->type > exregoffset)
return 2;
if(REGARG && v->type == REGARG)
if(REGARG >= 0 && v->type == (uchar)REGARG)
return 2;
if(s != A) {
......@@ -857,7 +857,7 @@ copyu(Prog *p, Adr *v, Adr *s)
return 3;
case ATEXT: /* funny */
if(REGARG && v->type == REGARG)
if(REGARG >= 0 && v->type == (uchar)REGARG)
return 3;
return 0;
}
......
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