Commit 4a3ce5f1 authored by Ken Thompson's avatar Ken Thompson

sigt_int

R=r
OCL=18030
CL=18030
parent 89f341db
......@@ -616,12 +616,10 @@ dumpsigt(void)
for(d=signatlist; d!=D; d=d->forw) {
if(d->op != OTYPE)
continue;
t = d->dtype;
et = t->etype;
if(et == TINTER)
continue;
at.sym = signame(t, d->block);
if(at.sym == S)
continue;
......
......@@ -1650,7 +1650,7 @@ globalsig(Type *t)
return S;
if(strcmp(t->sym->name, types[et]->sym->name) != 0)
return S;
snprint(buf, sizeof(buf), "%s_%S", "sigt", t->sym);
snprint(buf, sizeof(buf), "%s_%S", "sigt", types[simtype[et]]->sym);
out:
s = pkglookup(buf, glob);
......
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