diff options
-rw-r--r-- | src/cmd/6g/reg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/6g/reg.c b/src/cmd/6g/reg.c index 77b85d262..64616e4a5 100644 --- a/src/cmd/6g/reg.c +++ b/src/cmd/6g/reg.c @@ -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; |