1
0
mirror of https://github.com/golang/go synced 2024-11-26 13:48:05 -07:00
R=r
OCL=18081
CL=18081
This commit is contained in:
Ken Thompson 2008-10-29 16:55:52 -07:00
parent 276ffd297d
commit 2f5a05a859
2 changed files with 6 additions and 1 deletions

View File

@ -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", types[simtype[et]]->sym);
snprint(buf, sizeof(buf), "%s_%S", "sigt", t->sym);
out:
s = pkglookup(buf, glob);

View File

@ -66,6 +66,11 @@ Sigt sys·sigt_float64[2] = { (byte*)"float64", ASIMP, 8, nil, END };
Sigt sys·sigt_bool[2] = { (byte*)"bool", ASIMP, 1, nil, END };
Sigt sys·sigt_string[2] = { (byte*)"string", ASTRING, 8, nil, END };
Sigt sys·sigt_int[2] = { (byte*)"int", ASIMP, 4, nil, END };
Sigt sys·sigt_uint[2] = { (byte*)"uint", ASIMP, 4, nil, END };
Sigt sys·sigt_uintptr[2] = { (byte*)"uintptr", ASIMP, 8, nil, END };
Sigt sys·sigt_float[2] = { (byte*)"float", ASIMP, 4, nil, END };
static void
printsigi(Sigi *si)
{