]> Cypherpunks repositories - gostls13.git/commitdiff
fix initialization of noreturn
authorRob Pike <r@golang.org>
Thu, 3 Sep 2009 00:14:30 +0000 (17:14 -0700)
committerRob Pike <r@golang.org>
Thu, 3 Sep 2009 00:14:30 +0000 (17:14 -0700)
R=ken
DELTA=3  (0 added, 0 deleted, 3 changed)
OCL=34283
CL=34283

src/cmd/6g/reg.c

index 77b85d262b2d0ee3cf084b2dc1a3dfc2792645ca..64616e4a5bec0d3cf342bb0391f865535f60ac48 100644 (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;