1
0
mirror of https://github.com/golang/go synced 2024-11-12 10:20:27 -07:00

fix initialization of noreturn

R=ken
DELTA=3  (0 added, 0 deleted, 3 changed)
OCL=34283
CL=34283
This commit is contained in:
Rob Pike 2009-09-02 17:14:30 -07:00
parent 8aec612a80
commit 9e85c790e5

View File

@ -1551,9 +1551,9 @@ noreturn(Prog *p)
if(symlist[0] == S) {
symlist[0] = pkglookup("throwindex", "sys");
symlist[0] = pkglookup("throwslice", "sys");
symlist[0] = pkglookup("throwinit", "sys");
symlist[1] = pkglookup("panicl", "sys");
symlist[1] = pkglookup("throwslice", "sys");
symlist[2] = pkglookup("throwinit", "sys");
symlist[3] = pkglookup("panicl", "sys");
}
s = p->to.sym;