mirror of
https://github.com/golang/go
synced 2024-11-22 08:34:40 -07:00
6g/8g optimizer fix: throw functions now in runtime
R=ken2 https://golang.org/cl/166070
This commit is contained in:
parent
e2b23e42a8
commit
7c4aeec868
@ -1549,10 +1549,10 @@ noreturn(Prog *p)
|
||||
int i;
|
||||
|
||||
if(symlist[0] == S) {
|
||||
symlist[0] = pkglookup("throwindex", "sys");
|
||||
symlist[1] = pkglookup("throwslice", "sys");
|
||||
symlist[2] = pkglookup("throwinit", "sys");
|
||||
symlist[3] = pkglookup("panicl", "sys");
|
||||
symlist[0] = pkglookup("throwindex", "runtime");
|
||||
symlist[1] = pkglookup("throwslice", "runtime");
|
||||
symlist[2] = pkglookup("throwinit", "runtime");
|
||||
symlist[3] = pkglookup("panicl", "runtime");
|
||||
}
|
||||
|
||||
s = p->to.sym;
|
||||
|
@ -1438,10 +1438,10 @@ noreturn(Prog *p)
|
||||
int i;
|
||||
|
||||
if(symlist[0] == S) {
|
||||
symlist[0] = pkglookup("throwindex", "sys");
|
||||
symlist[1] = pkglookup("throwslice", "sys");
|
||||
symlist[2] = pkglookup("throwinit", "sys");
|
||||
symlist[3] = pkglookup("panicl", "sys");
|
||||
symlist[0] = pkglookup("throwindex", "runtime");
|
||||
symlist[1] = pkglookup("throwslice", "runtime");
|
||||
symlist[2] = pkglookup("throwinit", "runtime");
|
||||
symlist[3] = pkglookup("panicl", "runtime");
|
||||
}
|
||||
|
||||
s = p->to.sym;
|
||||
|
Loading…
Reference in New Issue
Block a user