cmd/all: stop generating ADATA Progs

The only remaining place that generated ADATA
Prog was the assembler. Stop, and delete some
now-dead code.

Passes toolstash -cmp.

Change-Id: I26578ff1b4868e98562b44f69d909c083e96f8d5
Reviewed-on: https://go-review.googlesource.com/20646
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2016-03-13 14:24:22 -07:00
parent 7c18f8cdc3
commit 4f753e77f1
9 changed files with 21 additions and 81 deletions

View file

@ -198,7 +198,7 @@ const (
)
// TODO(rsc): Describe prog.
// TODO(rsc): Describe TEXT/GLOBL flag in from3, DATA width in from3.
// TODO(rsc): Describe TEXT/GLOBL flag in from3
type Prog struct {
Ctxt *Link
Link *Prog
@ -266,7 +266,7 @@ const (
AXXX As = iota
ACALL
ACHECKNIL
ADATA
ADATA // used only by the assembler for parsing
ADUFFCOPY
ADUFFZERO
AEND