cmd/compile: cull some dead arch-specific Ops

Change-Id: Iee7daa5b91b7896ce857321e307f2ee47b7f095f
Reviewed-on: https://go-review.googlesource.com/36906
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Josh Bleecher Snyder 2017-02-12 21:11:16 -08:00
parent 5a75d6a08e
commit c5fed5bb24
4 changed files with 0 additions and 21 deletions

View file

@ -369,11 +369,6 @@ func instrumentnode(np **Node, init *Nodes, wr int, skip int) {
goto ret
// impossible nodes: only appear in backend.
case ORROTC, OEXTEND:
yyerror("instrument: %v cannot exist now", n.Op)
goto ret
case OGETG:
yyerror("instrument: OGETG can happen only in runtime which we don't instrument")
goto ret