Commit bc4a10d1 authored by Matthew Dempsky's avatar Matthew Dempsky

cmd/compile/internal/gc: remove toolstash hacks

Change-Id: I221f77075a25e934e20b41307758a89c19169e05
Reviewed-on: https://go-review.googlesource.com/c/145201Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 2dda040f
......@@ -1102,7 +1102,6 @@ func (w *exportWriter) stmt(n *Node) {
case OGOTO, OLABEL:
w.op(op)
w.pos(n.Pos)
w.op(ONAME) // TODO(mdempsky): Remove toolstash hack.
w.string(n.Sym.Name)
default:
......
......@@ -1044,9 +1044,6 @@ func (r *importReader) node() *Node {
case OGOTO, OLABEL:
n := nodl(r.pos(), op, nil, nil)
if op := r.op(); op != ONAME { // TODO(mdempsky): Remove toolstash check.
Fatalf("got %v, want ONAME", op)
}
n.Sym = lookup(r.string())
return n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment